booking dynamic by day

mare23

New Member
Joined
Oct 28, 2020
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hi everyone!

I need your help.

The question is what the formula is if I book 2 rooms with code T1 on Apr 10 and create report on May 15 I want to show me 2 rooms.
When someone cancel those 2 rooms with code T1 on Dec 2 and I create new report on Dec 3 I want to show me 0 room.

so in the report on May 15 I have 2 rooms and in the report on Dec 11 I don't have any rooms with code T1.

Code "Booking date/
Cancelled date" Rooms
T1 10.4.2020 2
T1 2.12.2020 0

Report dates T1
15.5.2020 2
30.5.2020 2
14.6.2020 2
11.11.2020 2
26.11.2020 2
11.12.2020 0
16.12.2020 0

I hope you understand the question
smile.gif


Mare
 

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 Array formula below
Code:
=MIN(IF($A$2:$A$21=$G$1,IF($B$2:$B$21<=F2,$C$2:$C$21)))
 

Attachments

  • bookingmare23.png
    bookingmare23.png
    9.7 KB · Views: 10
Upvote 0
What if I want the sum of all? I thought it would work if I put ' * ' but nothing

Mare
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: booking dynamic by day
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,633
Messages
6,125,928
Members
449,274
Latest member
mrcsbenson

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