• 0

Excel Sreadsheet Help


Question

I'm quite inept with excel so you'll have to bare. with me if I've been doing something really dumb.

Okay, I've been trying to create myself a bookkeeping spreadsheet to keep track of my eBay transactions. I've hit a brickwall when it comes to the the fees formula's though. I tried to look around the net first for others examples of this sort of thing but you have to pay for them which sort of defeats the object of me creating my own. Besides I want to learn a bit about this.

1fa1.jpg

I believe the best way of doing this is to use the tables on the right but that's as far as I can get, I know I'll probably have to use VLOOKUP or MATCH I believe but I'd love some help off of one of you guys. I need to figure out a formula for the 'Insertion Fee' and 'Final Value' fee columns using the tables on the right. I think I could figure out the 'Paypal Fee' column for myself if someone can help me with these.

The eBay final value fees table may need me to change some things to make it work I think too. The values in this table below show what's meant to be in the table but I wouldn't know how to go about inputting this.

2oj7.jpg

Thanks heaps to anyone who helps.

Edited by mashw
Link to comment
https://www.neowin.net/forum/topic/502012-excel-sreadsheet-help/
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Learn the power of VBA! Press Alt+F11 to open the VBA editor. Go to the "Insert" menu and insert a module. Open the module and paste the following code:

Function InsertionFee(ClosingPrice As Range) As Currency
	Select Case ClosingPrice.Value
		Case 0#
			InsertionFee = 0
		Case 0.01 To 0.99
			InsertionFee = 0.15
		Case 1# To 4.99
			InsertionFee = 0.2
		Case 5# To 14.99
			InsertionFee = 0.35
		Case 15# To 29.99
			InsertionFee = 0.75
		Case 30# To 99.99
			InsertionFee = 1.5
		Case Is > 99.99
			InsertionFee = 2
	End Select
End Function

Function FinalValueFee(ClosingPrice As Range) As Currency
	Select Case ClosingPrice.Value
		Case 0
			FinalValueFee = 0
		Case 0.01 To 29.99
			FinalValueFee = 0.0525 * ClosingPrice.Value
		Case 30# To 599.99
			FinalValueFee = 1.57 + 0.0325 * (ClosingPrice.Value - 29.99)
		Case Is > 599.99
			FinalValueFee = 20.1 + 0.0175 * (ClosingPrice.Value - 599.99)
	End Select
End Function

Then, in the "Insertion Fee" column, put the formula "=InsertionFee(F5)" and in the "Final Value Fee" column, put the formula "=FinalValueFee(F5)"

That ought to ****in' do it! Holy ****! VBA custom functions are fun! I've attached a spreadsheet with the formulas already placed.

VBA_Custom_Functions.zipFetching info...

  • 0

Okay thanks to booger I've got the fees table sorted. I need a hand with something else now though if anyone's got the time.

3jh8.th.jpg

With reference to the picture; I need the profits table to report the monthly profit for that particular month. I'm really confused how I'd go about this, my main problem with excel is not the formulas or getting my head around things it's just knowing what functions to use in what situation.

I think I'll need the formula to extract somehow the second part of the date in the B column (UK format) to report and tot-up the profits for say 01 meaning January, repoting in cell Q20.

I hope that's clear enough. I don't expect anyone to go to the effort booger did I just need a bit of help figuring out how to go about this.

(P.S I know this could be done ad-hoc at the end of the month's with a SUM formula but I'm trying to automate this as much as possible)

Cheers for any replies.

Edited by mashw
  • 0

You could also do the monthly sums with VBA, but I think it would be easier to create a new column that contains just the month and then use the SUMIF function. Note that the month can automatically be extracted from the full date using the MID function.

  • 0
  boogerjones said:

You could also do the monthly sums with VBA, but I think it would be easier to create a new column that contains just the month and then use the SUMIF function. Note that the month can automatically be extracted from the full date using the MID function.

You don't need to use the MID() function, you could just use the MONTH() funtion, this returns a number (1 - 12) representing the month.

eg cell B5 contains 25/01/2007, in cell A1 enter =MONTH(B1) and the result will be 1.

You could nest this into a VLOOKUP to give the 3 digit code for the month:

=VLOOKUP(MONTH(B5),{1,"Jan";2,"Feb";3,"Mar";4,"Apr";5,"May";6,"Jun";7,"Jul";8,"Aug";9,"Sep";10,"Oct";11,"Nov";12,"Dec"},2,FALSE)

This can then be used with a SUMIF() to build your summary (in Q20 to Q31)...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Chrome. Because it just works Chrome. Because it just works  
    • I'm curious as to how Apple will marketing it's (lacking) AI-thingy compared to other players in the market. I'm not pro-AI on OS'es, but having practically nothing looks kinda 'sad' to me also.
    • Anthropic cuts off Windsurf's Claude 3.x access: What it means for users by Paul Hill The popular AI-native coding tool, Windsurf, has announced that Anthropic has cut off first-party capacity to its Claude 3 series of models, including Claude 3.5 Sonnet, 3.7 Sonnet, and 3.7 Sonnet Thinking. Until Windsurf can find some capacity to support the demand for these models, it has had to make some short-term changes. One action Windsurf is taking to ease capacity issues is offering a promo rate for Gemini 2.5 Pro of 0.75x credits instead of the usual 1x. Gemini 2.5 Pro is a strong alternative to Claude models for coding, so it could help ease the capacity burden. Additionally, Windsurf has totally removed direct access to the affected Claude models for Free tier users and those trialing the Pro plan. However, you can add your own Claude API key to continue using the model in Windsurf. Claude Sonnet 4 is also available via your own key. Who it affects, and how As a result of the change, users who rely on the Claude 3 series models within Windsurf may experience slower response times or temporary unavailability. As an alternative, users could use the free SWE-1 models or the heavily discounted promo of GPT-4.1. There are other models available for paying customers, too. Users on the Free plan or enjoying a trial of Pro are the most affected by this change is it completely removes first-party capacity, forcing them to create a key and add it manually in Windsurf. This is a big barrier to entry, but some people might be willing to do this as Claude is widely seen as one of the best AI models for coding. The move could be considered a fairly big blow to Windsurf, which was recently in acquisition talks with OpenAI. Given Claude’s reputation as a strong AI for coding, developers could be less likely to use Windsurf now that it doesn’t come with Claude's set and is ready to go on the Free plan. Why it's happening The change came with less than a week’s notice for Windsurf to adapt to the change. While the press release doesn’t disclose the reasons for Anthropic's decision, there is a strong likelihood that it has something to do with OpenAI’s potential acquisition of the IDE. Anthropic and OpenAI were the original leaders competing in the AI race, and Anthropic won’t want to give OpenAI any help if it can help it. The chagrined Windsurf said that it was concerned about Anthropic’s decision and said the move would harm the entire industry, not just Windsurf. It’s unclear what it means by this, as it didn’t elucidate on this thought. Reactions As mentioned earlier, if you have been using Claude models and now feel abandoned by Anthropic and Windsurf, following the latter’s recommendation to use Gemini Pro 2.5 could be a sensible idea. While first-party capacity has been removed, Windsurf is still actively working with other inference providers to restore capacity and full access to the models. Windsurf, while disappointed with Anthropic's move, said the magic of its IDE doesn’t come from the models themselves. Instead, it’s all about the software’s deep contextual understanding, intentional user experience, and unique features like Previews, Deploys, and Reviews. Despite this setback, it will keep trying to deliver “magic.” Given everything, users will now need to decide whether Gemini 2.5 Pro meets their needs or if they need to hunt for a Claude 3 series API key to restore Claude functionality in Windsurf. If you use Windsurf, do not overlook its own model, SWE-1, as it’s also very capable and free to use. This decision by Anthropic highlights the main issue with relying on third parties to provide AI tools that we increasingly rely upon. For businesses like Windsurf, it means they will diversify the models they offer or, as Windsurf has already done, create their own LLMs that they control. For end users, being able to download a language model and run it offline is increasingly becoming easier and ensures users don’t lose access to their favorite models. Windsurf is not the only AI IDE on the scene, and this move could cause problems for it if other players continue to offer Claude models, at least in the short term, while it searches for more capacity. It will also reduce trust between model creators like Anthropic and the companies that rely on the models.
    • Tesla instructor reportedly said staff leave with a 'negative taste in their mouth' by Hamid Ganji Tesla has been making the headlines over the past few months due to Elon Musk's controversy in the Department of Government Efficiency, aka DOGE. People have been marching to the streets, boycotting Tesla, and even setting their already-bought Tesla cars on fire. Tesla temporarily shut down its factory in Austin for the week of Memorial Day, and employees could either take paid time off or attend a series of training sessions. Business Insider now claims to have obtained a recording of the sessions that reveals some interesting details about the Tesla culture and how its employees feel about the company. The Tesla instructor reportedly asked employees to respond if they ever felt "I can't work under these conditions" and were uneasy about the company's constant change. "I know I have," the instructor said. "A lot of people leave this company, and they have kind of a negative taste in their mouth," the Tesla instructor added. "They think: 'Man, it was terrible. It was bad. I got burnt out. I feel like I didn't get anything done, nobody listened to me.'" Hundreds of Tesla employees allegedly attended the meetings, where they were asked to take more responsibility for improving the company's culture. "Leadership has kind of another level of responsibility for trying to guide and direct that culture," the instructor told Tesla staff. "But at the end of the day, it's us as the people on the ground that are the reflection of the culture." Tesla's factory in Austin produces Cybertruck and Model Y. The staff said shutting down the factory for the sake of Memorial Day has been unusual for the company. Elon Musk recently announced that he would leave his position at the White House and added that he'll remain Tesla CEO for another five years. In the meantime, the latest data shows Tesla sales in Europe have dropped 49 percent, and the company's profit in Q1 2025 declined by 71 percent.
  • Recent Achievements

    • Dedicated
      jbatch earned a badge
      Dedicated
    • Week One Done
      Leonard grant earned a badge
      Week One Done
    • One Month Later
      portacnb1 earned a badge
      One Month Later
    • Week One Done
      portacnb1 earned a badge
      Week One Done
    • First Post
      m10d earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      271
    2. 2
      snowy owl
      158
    3. 3
      +FloatingFatMan
      146
    4. 4
      ATLien_0
      141
    5. 5
      Xenon
      131
  • Tell a friend

    Love Neowin? Tell a friend!