Multiple Criteria Look up: Which Function to use?

AmateurHour

New Member
Joined
Jun 27, 2024
Messages
4
Office Version
  1. 365
Platform
  1. MacOS
I am trying for a formula to cross reference between the number of sessions John Doe has purchased and the days they are valid to then countdown each time a session is used up.
Formulas to go in the following columns:
Column F for the Gym locations
Column G for the Outdoor locations

Screenshot 1 is the Block booking tab (where it tells me who has paid for what and how many sessions- Column E).
Screenshot 2 & 3 are where the register is taken as to who came to which session date. 2 being January, 3 being July.

I would like the Block booking tab to search the other tabs for the name of the individual and show me how any sessions have been used within the qualifying dates and show me when they have used all their sessions from the block. Which may be before the expiry of blocks.

For example John Doe has purchased 2 different blocks.
In Screenshot 2 he used up his last session from "GYM 4" block on 6th Jan.
In Screenshot 3 he has used up 3 of the original 8 and so only 5 left.

Any help would be much appreciated.
 

Attachments

  • Screenshot 2024-07-26 at 12.42.50.png
    Screenshot 2024-07-26 at 12.42.50.png
    68.1 KB · Views: 24
  • Screenshot 2024-07-26 at 11.39.04.png
    Screenshot 2024-07-26 at 11.39.04.png
    49 KB · Views: 26
  • Screenshot 2024-07-26 at 11.39.13.png
    Screenshot 2024-07-26 at 11.39.13.png
    51.2 KB · Views: 24

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
As it seems that each month is represented by a separate sheet and with the assumption that the numbers of people vary between individual months it would probably be much easier if your data is structured differently, i.e. one big table with 4 columns, i.e. date, track, name, and values (or maybe 6 columns, i.e. even with coach and programme) - cf. the picture. This would allow to look for the necessary data within one sheet.
 

Attachments

  • D.png
    D.png
    74.8 KB · Views: 19
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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