Alternative to Index Match to sum up

colzre

New Member
Joined
Jan 8, 2024
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Hello Experts,

I am after a formula to replace the current Index Match I am using at the moment.

Would you know an alternative option for same result?

Formula KPIs.xlsm
ABCDE
16June
2
3COMPANY
4
5BUDGET
6Rooms Available1,740
7Rooms Sold1,730
8
KPIs
Cell Formulas
RangeFormula
C1C1=TEXT(A1*28, "MMMMMMMM")
D6D6=IFNA(SUM(INDEX('BUDGET 2024'!$B$8:$M$9,0,MATCH($A$1,'BUDGET 2024'!$B$1:$M$1,0))*($B$6='BUDGET 2024'!$X$8:$X$9)),"0")
D7D7=IFNA(SUM(INDEX('BUDGET 2024'!$B$8:$M$9,0,MATCH($A$1,'BUDGET 2024'!$B$1:$M$1,0))*($B$7='BUDGET 2024'!$X$8:$X$9)),"0")


Formula KPIs.xlsm
ABCDEFGHIJKLMNOPQRSTUVWX
1123456789101112
2
3
4
5
6
7
8KPI 11,7981,6821,7981,7401,7981,7401,7981,7981,7401,7981,7401,79821,228Rooms Available
9KPI 21,2051,2501,6801,6401,7801,7301,7701,7501,6901,7551,4351,28018,965Rooms Sold
10
BUDGET 2024



Thank you beforehand!

John
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
As you are just returning a single value, how about
Excel Formula:
=IFNA(INDEX('BUDGET 2024'!$B$8:$M$9,match($B$6,'BUDGET 2024'!$X$8:$X$9,0),MATCH($A$1,'BUDGET 2024'!$B$1:$M$1,0)),0)
 
Upvote 0
As you are just returning a single value, how about
Excel Formula:
=IFNA(INDEX('BUDGET 2024'!$B$8:$M$9,match($B$6,'BUDGET 2024'!$X$8:$X$9,0),MATCH($A$1,'BUDGET 2024'!$B$1:$M$1,0)),0)
This formula gives me some problems depending on the users. Some people get error Value# and some not (like my case), which doesn´t happen with any other function before. Still better if this sums up as there might be the same single value in different lines of the sheet.

Hence, a different way to get to same end would be welcome (Avoiding Index Match).


Thanks,
Juan
 
Upvote 0
An index/match combo should not give a #value error, unless you either have that in your data, or the formula is wrong.
If they are incorrectly entering the formula, it doesn't matter what you change it to, as they will probably get that wrong as well. ;)
 
Upvote 0
You could use sumproduct like
Excel Formula:
=SUMPRODUCT(('BUDGET 2024'!$B$1:$M$1=$A$1)*('BUDGET 2024'!$X$8:$X$9=$B$6)*('BUDGET 2024'!$B$8:$M$9))
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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