+ Reply to Thread
Results 1 to 13 of 13

Profit Formula ?

  1. #1
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Profit Formula ?

    Hello, Please look at this an bare it in mind as i try to explain my problem.

    http://i252.photobucket.com/albums/h...Untitled-3.png

    I need my "profit since last" to display the profit since the previous data entry.

    The table currently works, but only so long as data is enetred for each an every hour.

    If a time slot is missing, i want it to look to the hour previous to it an use that data instead.

    any ideas?

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Profit Formula ?

    can you attach the spreadsheet , also can you put what you would like to see as the result
    maybe an if()
    so if the cash column is zero - than make the cell blank
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Re: Profit Formula ?

    Thanks for the reply.

    Iv'e edited the spreadsheet now, it works fine but it's not what i was trying to achieve. If possible, i'd like the current profit to be the profit since the previous. There might be a gap in rows of 1, or 10, depending what time i get on to check it, so it needs to look, and if the cell is empty, use the one above it etc.

    I'm sorry but i have barley any knowledge of spreadsheet beyond the basic stuff so that's all i can say.

    In essence i want it to show my my profit made per hour, and a total of the days profit below!

    If you can do it ill love you forever if not ill make do with this....

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Profit Formula ?

    thanks, I'm not sure I'm understanding
    can you mention which cells we are looking at , and where you want results and what they should

    is it the cells D36 and D37 - so they always pick up the amounts

    I dont know how you get D36
    I assume D37 is the max () of column F , as each hour the total increases

  5. #5
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Re: Profit Formula ?

    D36 an D37 are manually entered from what i start with, an what i end with, its just an easier way to work out the days profit an then move it to the right an keep track of it all..

    H11 to H34 is what id like to be different.

    Instead of them taking the total value, and deduction the starting amount to show the profit, id like them to also factor into the formula the profit from the previous hour.

    So if i have 400k profit, and over the next hour my total profit rises to 460k, i want my profit column to display 60k, not 460k.

    I was able to do that, the problem i had is if i dont enter data on every row, how do i make it do that if between say 2am and 4pm there is no data? I want the 5pm row to factor in the 1am data etc...

    It's confusing to try an explain but i hope you get it from that.

    Thanks

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Profit Formula ?

    so in cell H30 , in your example should be
    £354,375

  7. #7
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Re: Profit Formula ?

    Yep thats right

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Profit Formula ?

    does this work at all
    =IF(F11="","",MAX($F$11:F11)-$D$36-SUM($H10:H$10))
    put in H11 and copy down

  9. #9
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Re: Profit Formula ?

    I dont believe so, bare in mind my values can go down as well as up btw!

  10. #10
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Profit Formula ?

    But the value in F11 is always the latest to total, so we don't really need to use MAX at all
    =IF(F11="","",F11-$D$36-SUM($H10:H$10))
    so all we need to do as add up all the previous values H to get the difference

  11. #11
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Re: Profit Formula ?

    That seems to be working! any idea how i can make the days ending total display the most recent figure? Thansk a lot!

  12. #12
    Registered User
    Join Date
    06-01-2014
    Posts
    11

    Re: Profit Formula ?

    Scrap that i no longer need it, i just do a sum of all the profits :D

  13. #13
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Profit Formula ?

    your welcome
    if my assistance has helped, and only if you wish to , there is a reputation icon * on the left hand side - you can add to my reputation here

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-24-2014, 01:46 PM
  2. Replies: 0
    Last Post: 01-21-2014, 12:04 PM
  3. 1. consecutive days of profit and of losses 2. biggest profit loss since date
    By xbohemianx in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-14-2013, 12:57 PM
  4. formula for gross profit inc VAT
    By Martin@Stag in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-08-2013, 06:09 PM
  5. Profit formula
    By cas91 in forum Excel General
    Replies: 4
    Last Post: 01-04-2010, 08:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1