INDEX AND MATCH LOOKING FOR VALUE NOT GIVEN (INCREMENT)

rcomag

New Member
Joined
Aug 23, 2019
Messages
37
Office Version
  1. 2013
  2. 2010
Platform
  1. Windows
Found a formula in youtube regarding index and match. My problem is how can it return a value that is not indicated in the table (in between value) like in row 24, where the return value is N/A from the year indicated which is not in the table.
 

Attachments

  • Screenshot (513).png
    Screenshot (513).png
    51.6 KB · Views: 10
Try this:
Excel Formula:
=IFERROR(AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$J$13:$J$2000>=D6)),1),AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$J$13:$J$2000>=AGGREGATE(14,6,(barobaybay!$J$13:$J$2000)/(barobaybay!$A$13:$A$2000=C6),1))),1)
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Try this:
Excel Formula:
=IFERROR(AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$J$13:$J$2000>=D6)),1),AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$J$13:$J$2000>=AGGREGATE(14,6,(barobaybay!$J$13:$J$2000)/(barobaybay!$A$13:$A$2000=C6),1))),1)
Thank you very much sir! If I use it to look for multiple sheets, =IFERROR(AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$J$13:$J$2000>=D6)),1),AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$J$13:$J$2000>=AGGREGATE(14,6,(barobaybay!$J$13:$J$2000)/(barobaybay!$A$13:$A$2000=C6),1))),1....., Could I copy the formula and paste it at the end of the formula, will just change the sheet name.. Should I start copying from the iferror or just the aggregate.... '=IFERROR(AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C27)*(barobaybay!$J$13:$J$2000>=D27)),1),AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C27)*(barobaybay!$J$13:$J$2000>=AGGREGATE(14,6,(barobaybay!$J$13:$J$2000)/(barobaybay!$A$13:$A$2000=C27),1))),1))*(AGGREGATE(15,6,(bell!$I$13:$I$2000)/((bell!$A$13:$A$2000=C27)*(bell!$J$13:$J$2000>=D27)),1),AGGREGATE(15,6,(bell!$I$13:$I$2000)/((bell!$A$13:$A$2000=C27)*(bell!$J$13:$J$2000>=AGGREGATE(14,6,(bell!$J$13:$J$2000)/(bell!$A$13:$A$2000=C27),1)))
 
Upvote 0
You're welcome.
Why you don't replace previous formula with this. whenever you need you can sheet name and range based your data range. No problem.
 
Upvote 0
You're welcome.
Why you don't replace previous formula with this. whenever you need you can sheet name and range based your data range. No problem.
Sir, what if there are duplications in the number but with different names and value.
 
Upvote 0

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

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