Formula to return nth value in a row

Roy_Excel_Island_Apps

Board Regular
Joined
Oct 9, 2018
Messages
68
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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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