How to calculate the first cell address from RIGHT to LEFT that is greater than 0 or not BLANK

CraigThompson

New Member
Joined
May 30, 2023
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
Hello,

I'm using the formula below which returns the cell from the left where the first number is greater than zero or not a blank. What I need to do is the same in reverse (from RIGHT to LEFT). I just can't seem to make anything work. Please help. TIA!

=CELL("address",INDEX(C4:M4,MATCH(TRUE,C4:M4>0,0)))
 

Attachments

  • Screenshot 2023-05-30 at 16.26.22.png
    Screenshot 2023-05-30 at 16.26.22.png
    60 KB · Views: 6

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi & welcome to MrExcel.
How about
Excel Formula:
=ADDRESS(ROW(),TAKE(FILTER(COLUMN(C4:M4),C4:M4>0),,-1))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,672
Members
449,045
Latest member
Marcus05

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