Talk out a formula

kimparker0261

New Member
Joined
Jan 8, 2019
Messages
30
For the formula below, can you talk out what the formula is saying for that cell

=IFERROR(UPPER(INDEX(Range_Desc,MATCH(ROW()-ROW($A$10),Range_Valid,0))),"")
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Range_Desc and Range_Valid are the names of Named Ranges (row or column usually). I am guessing based on the formula that we are talking about 2 columns.
ROW() is the row number of the cell with the formula, ROW($A$10)is the row number of cell A10, so basically it is 10.
so ROW()-ROW($A$10) will be something like 23-10=13 or any other number.

MATCH will return the relative position of an item in an array (row or column) of data. So basically MATCH is looking for the relative position of a number (e.g. 13) in the named range Range_Valid.
INDEX looks for the value of the cell in a certain relative position in an array. The array is Range_Desc. Then you have to provide the number of row and column to get the value of the cell in their intersection point. Because the column value is omitted I guess it is a single column range e.g. you are looking to find what is written in row 13 (column 1 and only) of Range_Desc.
Then you take this Value (usually a string) and convert all alphabetical characters to upper case with UPPER().

There is the possibility that the function so far result in an error. To avoid results like #N/A, #NA ME?, #REF ! etc. we use IFERROR(<some function>,"") - it will return zero length string if the function in the brackets result is some error code.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,023
Latest member
alabaz

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