Displaying Last Value in a Column

Mushroomman

New Member
Joined
Mar 8, 2014
Messages
14
Hi,
So I had the formula


<tbody>
</tbody>
=IF('12'!$D$34="","",(LOOKUP(2,1/ISTEXT('12'!$D$34:$D$76),('12'!$D$34:$D$76))))

before and it was working perfectly.

Trouble is that I've changed the values that I used to put in the cells D34:D76. The values there now refer to another cell which is dependent on another cell.

For example;

D34 now contains
=IF(J4="","",J4)


J4 contains
=IF(H4=0,"Day 0",IF(H4=1,"Day 1",IF(H4=2,"Day 2",IF(H4=3,"Day 3",IF(H4=4,"Day 4",IF(H4=5,"Day 5",IF(H4=6,"Day 6","")))))))

H4 contains
=IF(A34="","",(A34-$B$24))

Where A34 & B24 contain dates.


Basically, when the difference between the 2 days equals a certain number (eg 1) the text Day 1 now appears in D34-the cell Im trying to reference to.

Can anyone help a brother out :)

Paul
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,214,551
Messages
6,120,156
Members
448,948
Latest member
spamiki

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