pick up first field that isn't blank

kgkev

Well-known Member
Joined
Jun 24, 2008
Messages
1,285
Office Version
  1. 365
Platform
  1. Windows
My column "O" contains data that looks like
Excel Workbook
O
20V/c
21
22
23
24V
25
26V
27V
28V
29
30V
31
32
33
34
35
36
37
38
39
Invoice
Excel 2000
Cell Formulas
RangeFormula
O21=Data!M9
O22=Data!M9
O23=Data!M10
O24=Data!M11
O25=Data!M12
O26=Data!M13
O27=Data!M14
O28=Data!M15
O29=Data!M16
O30=Data!M17
O31=Data!M18
O32=Data!M19
O33=Data!M20
O34=Data!M21
O35=Data!M22
O36=Data!M23
O37=Data!M24
O38=Data!M25
O39=Data!M26




I need to return the V else where but can never be certain where it might appear.

the letter will always be the same so if I can just identify the first one that would be fine.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Try: =INDEX($O$21:$O$39,MATCH(TRUE,O21:O39<>"",0))

Confirmed with Ctrl Shift Enter
 
Upvote 0
Thanks for that - I have a problem though

I get a message - Array Formulas are not Valid in Merged Cells.

Is there a way round this without reformating my whole page?
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,485
Members
448,967
Latest member
visheshkotha

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