# Help calculating the total weight lost from starting weight D1

1. ## Help calculating the total weight lost from starting weight D1

I would like to figure out how to calculate total weight lost (or gained) from the starting weight in cell D1. The new weight will only be entered every other row. Then I plan to add, in cell F1, total weight lost. The results would be displayed in cell F2.

bloodsugarandweight.png

2. ## Re: Help calculating the total weight lost from starting weight D1

Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

Click on GO ADVANCED and use the paperclip icon to open the upload window.

View Pic

3. ## Re: Help calculating the total weight lost from starting weight D1

Here is the attached copy of the workbook. I can do most of the simple sum formulas but I am having issues with calculating every other weight to the total cell located to the right.

Thanks,
-Ronnie

Blood Sugar.xlsx

4. ## Re: Help calculating the total weight lost from starting weight D1

Hi try this in G1
=\$D\$1-INDEX(\$D\$3:\$D\$62,LARGE(IF((\$B\$3:\$B\$62<>"")*(\$D\$3:\$D\$62<>""),ROW(\$D\$3:\$D\$62)-ROW(\$D\$3)+1,""),1))
after copying the formula use ctrl+Shift+Enter but not just enter

Punnam

5. ## Re: Help calculating the total weight lost from starting weight D1

Punnam,

This did not work, it returns a #value! error. The only values of concern are the weights in the D column, the issue is doing the calculations regardless of the blank cells. I appreciate your quick response. It's a bit late tonight, will respond in the morning.

-Ronnie

6. ## Re: Help calculating the total weight lost from starting weight D1

Hi,

Find the attached sheet, when your are free and reply with expected result .

Punnam

7. ## Re: Help calculating the total weight lost from starting weight D1

Or, if I've interpreted correctly, this non-array formula in F3 and copied down:
Formula:
`Please Login or Register  to view this content.`

8. ## Re: Help calculating the total weight lost from starting weight D1

This non-array formula will work as well.

Disclaimer: This is not my code. Additional explanation here.

``Please Login or Register  to view this content.``

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

#### 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