Show last know calulation

pigsfoot

Board Regular
Joined
Dec 13, 2007
Messages
58
Office Version
  1. 365
Hi,
I have a small table that calulates % diferences and i want a cell at the bottom that shows the last actual calculation as some cells would not of been filled in yet

1632830308501.png


So at the bottom of % Diff column i just want a cell that shows the last calulation, in this case it would be 5% and then as more data is added that cell value will update.

The only way i could thik of doing it would be via alot of nested IF statments using the total column as check against 0 but presumably there is a better way.

I hope that makes some sense

Many Thanks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

What is your formula in the top row of the % Diff column?

In any case, try (check table name)

Excel Formula:
=LOOKUP(9^9,Table1[new visitors],Table1[% Diff])
 
Last edited:
Upvote 0
Solution
Hi, Excel version has been added, thanks i wasn't aware i could do that,

The formula for the % Diff column is simply - =([@Total]-E2)/E2 ( formtted as % )

Thanks
 
Upvote 0
The formula for the % Diff column is simply - =([@Total]-E2)/E2 ( formtted as % )
Thanks. Unfortunately I do not know which is column E or at least what is in E2, but in any case I edited my previous post to make a suggestion. Did you see that formula?


BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

Thanks for updating your profile. (y)
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,519
Members
448,968
Latest member
Ajax40

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top