Formula to find first blank cell and return another value

Jessica553

New Member
Joined
Nov 21, 2021
Messages
24
Office Version
  1. 2010
Platform
  1. Windows
Hi all, I'm looking for a formula to find the first blank cell in the row and then return the column title. Essentially it's trying to find who has attended the meeting from minutes entered and we are trying to find the first time that they have attended (IE when they joined) and then their last one (When they left) I have tried Index/Match, IsBlank, Vlookup etc but the data set is going to be over many years and can't get it to return the date in Row 2 as opposed to just the 1 in the range.

1714194401684.png
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Note the last meeting requires an additional blank cell. Try:
Book1
ABCDEFGHIJKLM
1First MeetingLast Meeting1/3/241/4/241/5/241/6/241/7/241/8/241/9/241/10/241/11/24
2Bob1/3/241/8/241111
3Sally1/7/241/10/2411
4Fred1/7/241/11/2411
5George1/5/241/8/2411
Sheet3
Cell Formulas
RangeFormula
B2:B5B2=INDEX($D$1:$L$1,MATCH(1,D2:L2,0)-1)
C2:C5C2=LOOKUP(2,1/(D2:L2=1),$E$1:$M$1)
 
Upvote 0
Assuming that the dates begin from (D1) & ends (L1)

You can use the following formulas:

First meeting: =XLOOKUP(TRUE,NOT(ISBLANK(D2:L2)),$D$1:$L$1)


Last Meeting: =LOOKUP(2,1/(D2:L2<>""),$D$1:$L$1)

Hope I could assist you
 
Upvote 0

Forum statistics

Threads
1,215,614
Messages
6,125,848
Members
449,266
Latest member
davinroach

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