Need to identify last populated cell in a row.

tbablue

Active Member
Joined
Apr 29, 2007
Messages
472
Office Version
  1. 365
Platform
  1. Windows
{=INDEX(J$4:AZ5,1,MATCH(TRUE,J5:AZ5<>0,0))}

this array formula (supplied by this forum - appreciated!) returns a value from the row 1 of the range J$4:AZ$5 based on the first populated cell found within row J5:AZ5.

This array formula does exactly what I need it to do.


I now need to identify the last populated cell within row J5:AZ5. Any ideas?

If you've tried to help me with this before - I appreciate your repeat attention. I acknowledge that my earlier description of my requirement was probably very confusing - hopefully, this is clearer.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

tbablue

Active Member
Joined
Apr 29, 2007
Messages
472
Office Version
  1. 365
Platform
  1. Windows
sorry - I should have explained.

ALL cells within my lookup range are populated by formula - so the cells themselves are not empty. It's just that some cells return a value.

I want to find the last cells in a row which contain a returned value.

I appreciate this puts a different spin on things.

Thanks in advance for any assistance offered.
 
Upvote 0

tbablue

Active Member
Joined
Apr 29, 2007
Messages
472
Office Version
  1. 365
Platform
  1. Windows
Hi Jonmo1

Neither formula seems to work. Thanks for your attention.
 
Upvote 0

Forum statistics

Threads
1,195,934
Messages
6,012,386
Members
441,694
Latest member
Elvin A

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
Top