Need Last Shown Value in my Cell I28

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,486
In the case below I need a formula in Cell I28 that will "bring-down" the last SHOWN value in the Range(I13:I27), which is W3. My Current cell I 23 doesn't show as "" has been assigned to it. Can someone assisy? TIA, Jim
Excel Workbook
I
13W2
14
15
16
17
18W3
19
20
21
22
23
24
25
26
27
28
Managers Input
Excel 2007
Cell Formulas
RangeFormula
I13=IF(H13<>0,"W2","")
I18=IF(H18<>0,"W3","")
I23=IF(H23<>0,"W4","")
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
In the case below I need a formula in Cell I28 that will "bring-down" the last SHOWN value in the Range(I13:I27), which is W3. My Current cell I 23 doesn't show as "" has been assigned to it. Can someone assisy? TIA, Jim


Excel Workbook
I
13W2
14
15
16
17
18W3
19
20
21
22
23
24
25
26
27
28
Managers Input
Excel 2007
Cell Formulas
RangeFormula
I13=IF(H13<>0,"W2","")
I18=IF(H18<>0,"W3","")
I23=IF(H23<>0,"W4","")
Like this maybe...

=LOOKUP(2,1/(I13:I27<>""),I13:I27)
 
Upvote 0
Thanks Guys - Terrific!! Just when I had thing set (I Thought,,,) I have near the same thing needed -- seems like my current formula is only considering POSITIVE Amts, not Negative. Cell I28 should be -781.08. How can I modify the existing formula in H28 to acheive... Jim
Excel Workbook
H
131,562.16
14
15
16
17
18(781.08)
19
20
21
22
23
24
25
26
27
281,562.16
Managers Input
Excel 2007
Cell Formulas
RangeFormula
H13=G13*F13
H18=G18*F18
H28=IF(AND(H26=0,H21=0),LOOKUP(2,1/(ISNUMBER(H11:H16)),H11:H16),IF(H26=0,LOOKUP(2,1/(ISNUMBER(H11:H21)),H11:H21),LOOKUP(2,1/(ISNUMBER(H11:H27)),H11:H27)))
 
Upvote 0
correction...

Cell H28 should be -781.08

Also an option involving your first query...

=LOOKUP(9.99999999999999E+307,SEARCH("?",I13:I27),I13:I27)

The latter query, involving numbers in H13:H27...

=LOOKUP(9.99999999999999E+307,H13:H27)

if there are no zeros in the range. But, if you want to avoid zero values...

=LOOKUP(9.99999999999999E+307,1/H13:H27,H13:H27)
 
Upvote 0
Thanks Guys - Terrific!! Just when I had thing set (I Thought,,,) I have near the same thing needed -- seems like my current formula is only considering POSITIVE Amts, not Negative. Cell I28 should be -781.08. How can I modify the existing formula in H28 to acheive... Jim


Excel Workbook
H
131,562.16
14
15
16
17
18(781.08)
19
20
21
22
23
24
25
26
27
281,562.16
Managers Input
Excel 2007
Cell Formulas
RangeFormula
H13=G13*F13
H18=G18*F18
H28=IF(AND(H26=0,H21=0),LOOKUP(2,1/(ISNUMBER(H11:H16)),H11:H16),IF(H26=0,LOOKUP(2,1/(ISNUMBER(H11:H21)),H11:H21),LOOKUP(2,1/(ISNUMBER(H11:H27)),H11:H27)))
For this one do you want to return the LAST (bottom-most) numeric value in the range?

=LOOKUP(1E100,H13:H27)
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

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