Home |
Search |
Today's Posts |
#1
|
|||
|
|||
find last cell that has a value in row
I have row AI3:CH3 with data added each week. For example after 4 weeks,
AI3:AL3 has data and the rest of the row is blank. Each week, I add a value in the next cell to the right of the previous week, so by the end of the year, I will have 52 values filling AI3:CH3. What formula will look at this row, and display the "right hand most value" ignoring all the blank cells in the row. IE I need to have displayed the value each week, for the week prior (in another worksheet) Thanks |
#2
|
|||
|
|||
=OFFSET(AI3,0,COUNT(AI3:CH3)-1) presuming that you have no blank weeks Jez Wrote: I have row AI3:CH3 with data added each week. For example after 4 weeks, AI3:AL3 has data and the rest of the row is blank. Each week, I add a value in the next cell to the right of the previous week, so by the end of the year, I will have 52 values filling AI3:CH3. What formula will look at this row, and display the "right hand most value" ignoring all the blank cells in the row. IE I need to have displayed the value each week, for the week prior (in another worksheet) Thanks -- Bryan Hessey ------------------------------------------------------------------------ Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059 View this thread: http://www.excelforum.com/showthread...hreadid=473701 |
#3
|
|||
|
|||
For the last numerical value, try...
=LOOKUP(9.99999999999999E+307,AI3:CH3) Hope this helps! In article , Jez wrote: I have row AI3:CH3 with data added each week. For example after 4 weeks, AI3:AL3 has data and the rest of the row is blank. Each week, I add a value in the next cell to the right of the previous week, so by the end of the year, I will have 52 values filling AI3:CH3. What formula will look at this row, and display the "right hand most value" ignoring all the blank cells in the row. IE I need to have displayed the value each week, for the week prior (in another worksheet) Thanks |
#4
|
|||
|
|||
Thankyou, this works a treat.
"Domenic" wrote: For the last numerical value, try... =LOOKUP(9.99999999999999E+307,AI3:CH3) Hope this helps! In article , Jez wrote: I have row AI3:CH3 with data added each week. For example after 4 weeks, AI3:AL3 has data and the rest of the row is blank. Each week, I add a value in the next cell to the right of the previous week, so by the end of the year, I will have 52 values filling AI3:CH3. What formula will look at this row, and display the "right hand most value" ignoring all the blank cells in the row. IE I need to have displayed the value each week, for the week prior (in another worksheet) Thanks |
#5
|
|||
|
|||
Thanks Bryan, this also works, but as you said, provided there is no blank
weeks. if the value for the week is zero, I will put in '0' rather than leaving blank. Cheers everyone. "Bryan Hessey" wrote: =OFFSET(AI3,0,COUNT(AI3:CH3)-1) presuming that you have no blank weeks Jez Wrote: I have row AI3:CH3 with data added each week. For example after 4 weeks, AI3:AL3 has data and the rest of the row is blank. Each week, I add a value in the next cell to the right of the previous week, so by the end of the year, I will have 52 values filling AI3:CH3. What formula will look at this row, and display the "right hand most value" ignoring all the blank cells in the row. IE I need to have displayed the value each week, for the week prior (in another worksheet) Thanks -- Bryan Hessey ------------------------------------------------------------------------ Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059 View this thread: http://www.excelforum.com/showthread...hreadid=473701 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find a empty cell in next column | Excel Discussion (Misc queries) | |||
up to 7 functions? | Excel Worksheet Functions | |||
How do I find out how many different cell formats an existing wor. | Excel Discussion (Misc queries) | |||
Find Max and Min based on cell reference | Excel Discussion (Misc queries) | |||
I there an easy way to find out if any formula reference a cell? | New Users to Excel |