+ Reply to Thread
Results 1 to 6 of 6

HELP! Need to show amount of loss in totals by weekly numbers...

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    Cedar Rapids, IA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Unhappy HELP! Need to show amount of loss in totals by weekly numbers...

    I am making a "biggest loser" spreadsheet where I have the starting weight in B3, cells C3-M3 will have the weigh ins with each week. In cell N3 I have the total loss. I would like the total loss to show correctly with each week.
    Ex: start weight is 150, the first weigh in is 149 - total loss should say 1.

    The problem I am running into is keeping the total running per week. I attempted an =IF formula, but it does not seem to work after the second week. I posted the formula I attempted below. If this is the right way to go about it, but I am not using the right cells/functions please let me know. If another (or simpler) formula will work out better- I am open to ANY ideas!

    Here is my initial failed formula:
    =IF(C3>0,B3-C3,0)*IF(D3<C3,B3-D3,B3-C3)*IF(E3<D3,B3-E3,B3-D3)*IF(F3<E3,B3-F3,B3-E3)*IF(G3<F3,B3-G3,B3-F3)*IF(H3<G3,B3-H3,B3-G3)*IF(I3<H3,B3-I3,B3-H3)*IF(J3<I3,B3-J3,B3-I3)*IF(K3<J3,B3-K3,B3-J3)*IF(L3<K3,B3-L3,B3-K3)*IF(M3<L3,B3-M3,B3-L3)

    Thank you in advance!

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,154

    Re: HELP! Need to show amount of loss in totals by weekly numbers...

    would you just be looking for the minimum value in the cells

    =B3-MIN(C3:M3)

    i guess that will not show the actual weight - just the most weight loss during the process

    I suspect you just need to see the last weight entered

    edit - changed formula
    =IFERROR(B3-LOOKUP(1E+100,C3:M3),"")


    150, 149,146,149,150,130,140,150
    for the example above the weight loss is zero
    started at 150 and ended at 150
    or the most lost
    150 - 130 - the min value so 20

    EDIT
    actually the IF is not working
    probably just use
    =B3-LOOKUP(1E+100,C3:M3)
    if you dont mind errors , until week 1 is entered

    or use
    =IFERROR(B3-LOOKUP(1E+100,C3:M3),"")
    Last edited by etaf; 08-07-2013 at 05:06 PM.
    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
    08-07-2013
    Location
    Cedar Rapids, IA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: HELP! Need to show amount of loss in totals by weekly numbers...

    Etaf - your second formula is exactly what I am looking for! Thank you very much for helping with this- I have been trying to figure it out for way too long now!

    Another question-

    Is there a way to get the percentage of weighloss from this data? To get weight loss percentage, it would be the Start weight (B3) - Current weight (=B3-IF(COUNT(C3:M3),LOOKUP(1E+100,C3:M3),"") ). Then you divide the difference by the start weight again (B3) and multiply that answer by 100.

    I think I am in excel overload...

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,154

    Re: HELP! Need to show amount of loss in totals by weekly numbers...

    =iferror(((B3-LOOKUP(1E+100,C3:M3))/b3)*100,"")

    if you format as percent in the cell then you do not want the * by 100
    =iferror(((B3-LOOKUP(1E+100,C3:M3))/b3),"")

    NOTE

    i changed this
    (=B3-IF(COUNT(C3:M3),LOOKUP(1E+100,C3:M3),"") )
    as it gave an error as was not error correcting correctly
    have a look at my previous post - for the edits
    Last edited by etaf; 08-07-2013 at 05:29 PM.

  5. #5
    Registered User
    Join Date
    08-07-2013
    Location
    Cedar Rapids, IA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: HELP! Need to show amount of loss in totals by weekly numbers...

    Ah! The relief.. and just in time for me to get out of work at 4:30. Thank you very much for your help. Both formulas work perfectly. I really appreciate it!

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,154

    Re: HELP! Need to show amount of loss in totals by weekly numbers...

    your welcome, have a great evening

+ 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. [SOLVED] Sum workday totals on one sheet to weekly totals on another
    By BryanD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2013, 10:08 AM
  2. [SOLVED] How do I group daily totals into weekly/monthly/quarterly totals
    By situationroom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2013, 09:58 AM
  3. [SOLVED] Finding Weekly Totals
    By gocush in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2012, 07:46 PM
  4. sum weekly totals and add to calendar
    By cactusrmt in forum Excel General
    Replies: 0
    Last Post: 08-03-2011, 12:38 PM
  5. Summing Weekly Totals into Monthly Totals
    By steph44haf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2006, 11:55 AM

Tags for this Thread

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