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
For other sheet, for each range you should go to that sheet and select range, the range added to formula and then look at formula and use same structure for other sheets. For example if your table is in Sheet6 then first range is:
Sheet6!$D$21:$D$392
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
how would I make it, =(sheet6!d21:d392)*aggregate(15,6(d21:d392)................... Can it find the value in the other sheet or i should use vlookup.
 
Upvote 0
if your Data is in Sheet6 and your criteria at the sheet you want write formula, formula changes to:
Excel Formula:
=AGGREGATE(15,6,(Sheet6!$D$21:$D$392)/((Sheet6!$B$21:$B$392=N24)*(Sheet6!$C$21:$C$392=L24)*(Sheet6!$E$21:$E$392>=O24)),1)
and if is in another Workbook ( with name Book1.xlsm here) at Sheet Paper, formula changes to:
Excel Formula:
=AGGREGATE(15,6,('[Book1.xlsm]Paper'!$D$21:$D$392)/(('[Book1.xlsm]Paper'!$B$21:$B$392=N24)*(Sheet6!'[Book1.xlsm]Paper'!$C$21:$C$392=L24)*('[Book1.xlsm]Paper'!$E$21:$E$392>=O24)),1)
and about table, if you create Table at Excel , you should Replace Ranges with Column name at Table.
 
Upvote 0
Good Afternoon! used the formula in between sheets, when I put a data (higher year) not stated in the table, an error appears (#NUM!).
 
Upvote 0
When you use Higher value from range this part of formula
Excel Formula:
Sheet6!$E$21:$E$392>=O24
give you nothing, because all value at range smaller than criteria, then you see error
 
Upvote 0
When you use Higher value from range this part of formula
Excel Formula:
Sheet6!$E$21:$E$392>=O24
give you nothing, because all value at range smaller than criteria, then you see error
In the practice sheet that I made, when I put a higher value on the data year, it returns the latest value. example.. data table latest year 2022 with value 1,000.00. When placing data with year 2023 or higher, it returns the value from 2022. When I sampled it with between sheets, I get the #NUM! in return when putting higher year.
 
Upvote 0
1. Are you sure you have >= Not <= ?
2. maybe you range inputted in formula don't equal exact with your source data range, also check it?
 
Last edited:
Upvote 0
AR for OR.xls
ABCDEFGHIJKLMNO
3
4
5Address Value NumberYear
6Barobaybay, Magarao, Camarines Sur#NUM!97-001-001462023
7Barobaybay, Magarao, Camarines Sur3,310.0097-001-002061993
8Monserrat, Magarao, Camarines Sur2,310.0097-001-002601993
9Barobaybay, Magarao, Camarines Sur3,310.0097-001-002061993
10Barobaybay, Magarao, Camarines Sur2,240.0097-001-002221993
11Monserrat, Magarao, Camarines Sur2,310.0097-001-002601993
12Barobaybay, Magarao, Camarines Sur2,330.0097-001-002061985
13Barobaybay, Magarao, Camarines Sur2,240.0097-001-002221993
14Punong, Magarao, Camarines Sur1,030.0097-001-000311971
15Punong, Magarao, Camarines Sur23,040.0097-001-000311994
16Punong, Magarao, Camarines Sur22,320.0097-001-000311993
17Punong, Magarao, Camarines Sur#NUM!97-001-000312023
18Punong, Magarao, Camarines Sur45,860.0097-001-000312022
19
20
21 =AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C17)*(barobaybay!$E$13:$E$2000=A17)*(barobaybay!$J$13:$J$2000>=D17)),1)
Sheet1
Cell Formulas
RangeFormula
A6:A18A6=VLOOKUP(C6,barobaybay!$A$21:$M$8000,5,FALSE)
B6:B18B6=AGGREGATE(15,6,(barobaybay!$I$13:$I$2000)/((barobaybay!$A$13:$A$2000=C6)*(barobaybay!$E$13:$E$2000=A6)*(barobaybay!$J$13:$J$2000>=D6)),1)
 
Upvote 0
Are you sure your data started from row 13 at barobaybay sheet?
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,842
Members
449,471
Latest member
lachbee

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