Ticket Prices: Date Ranges

Swerly

New Member
Joined
Dec 10, 2019
Messages
3
Office Version
  1. 2013
Platform
  1. Windows
I am trying to calculate how much someone needs to pay me, where the ticket prices are set for a certain period.

I have already have help to get this far, but I'm struggling to work out why the formula would work in Office365 and not Office 2013

1575969818200.png

In Cell F2 =SUMPRODUCT(INDEX($C$8:$C$10,MATCH(ROW(INDEX($ZZ:$ZZ,A2):INDEX($ZZ:$ZZ,B2)),$A$8:$A$10)))*E2

I'm using Excel 2013, and the above formula takes the price between the range e.g. 14/11/2019 = £2.50 and multiplying it by the number of guests, but ignoring the price change on the 16/11/2019

When I do this in Office365 the formula works as expected.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I suspect that you need to invoke the formula in Office 2013 with Ctrl+Shift+Enter instead of just Enter because the MATCH portion is reporting an array. I think, anyway.
 
Upvote 0
Thank you for your response.
I did try that, but I didn’t see anything change.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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