Index, Lookup and Offset functions

TomOCJr

New Member
Joined
Feb 2, 2023
Messages
6
Office Version
  1. 2019
Platform
  1. Windows
I have watched the Mr Excel videos on how to have the last result in an row show in a cell using the Index, Lookup and Offset functions. All of the methods give men a result of 0.00. Note, the results that I want in the cell are answers from formulas.

Thank you so much..

Tom
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Try
Excel Formula:
=LOOKUP(2,1/(A3:Z3<>""),A3:Z3)
change the ranges to suit
 
Upvote 0
Try
Excel Formula:
=LOOKUP(2,1/(A3:Z3<>""),A3:Z3)
change the ranges to suit
Hello Mark 858, this works perfectly with this =LOOKUP(2,1/(C69:Z69<>""),C69:Z69) if I start with a new clean row and type in numbers like 100 200 300 etc. But my cells have a formula for adding 3 cells for a total. The total is what I want to show in my cell. Here is the formula with each cell having it's own column number over a period of one year: =SUM(D51:D53)
 
Upvote 0
Can you use the boards XL2BB add-in to post some sample data please so I can see what we are dealing with as formulas shouldn't be an issue

Book2
DEFGHIJKLMNOPQRSTUV
50
51361585136
52
53
54
55
56
57
58136
59
Sheet3
Cell Formulas
RangeFormula
K51K51=SUM(D51:F51)
H58H58=LOOKUP(2,1/(A51:V51<>""),A51:V51)
 
Upvote 0
Can you use the boards XL2BB add-in to post some sample data please so I can see what we are dealing with as formulas shouldn't be an issue

Book2
DEFGHIJKLMNOPQRSTUV
50
51361585136
52
53
54
55
56
57
58136
59
Sheet3
Cell Formulas
RangeFormula
K51K51=SUM(D51:F51)
H58H58=LOOKUP(2,1/(A51:V51<>""),A51:V51)
 

Attachments

  • Excel.JPG
    Excel.JPG
    97.3 KB · Views: 4
Upvote 0
Please use the boards addin rather than posting an image
a) so I can copy the data into Excel
b) so I can see where the formulas reside

What you have posted appears to show your data all in a column. Are you looking for the last cell in a column and not a row as you stated in post 1?
 
Upvote 0
Please use the boards addin rather than posting an image
a) so I can copy the data into Excel
b) so I can see where the formulas reside

What you have posted appears to show your data all in a column. Are you looking for the last cell in a column and not a row as you stated in post 1?
Sorry, this is confusing for me. Ment to send 2 images, here is the second.
 

Attachments

  • Formulas.JPG
    Formulas.JPG
    195.3 KB · Views: 1
Upvote 0
Sorry, this is confusing for me. Ment to send 2 images, here is the second.
No, I am looking for the last cell in the row. The 3 amounts add up to the total in row 50. This is the number I want in cell B50
 
Upvote 0
I still wish to see the data using the boards addin for the reasons given so I can test.

Instructions and download for XL2BB are below.
 
Upvote 0
I'll pick up on this later in the day if no-one else has as I need some sleep (01:30 here)
 
Upvote 0

Forum statistics

Threads
1,215,011
Messages
6,122,677
Members
449,092
Latest member
tayo4dgacorbanget

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