Formula to return nth value in a row

Roy_Excel_Island_Apps

Board Regular
Joined
Oct 9, 2018
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

thanks for helping me out!

Example: There are values in multiple columns in row 1. I need a formula that returns the first value in that row.
Therefore I found this formula that works:
=INDEX(1:1;MATCH(TRUE;INDEX(ISNUMBER(1:1);0);0))

But now I need a formula that returns the SECOND value in this row. How do I get it? I will also need a formula to get the 3rde, 4th, ... value in a row.

Thanks in advance!
Roy
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi,
You do need to use =SMALL(IF($A$1:$A$20="criteria",ROW($A$1:$A$20),""),K))
K will take your values 1,2,3,4 ...
Hope this will help
 
Upvote 0
If you just want the 2nd number, how about
Excel Formula:
=INDEX(FILTER(A1:Z1,ISNUMBER(A1:Z1)),,2)
 
Upvote 1
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,930
Members
449,094
Latest member
teemeren

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