문제

I have a table that lists hotel reservations by ID, each with a check in and check out dates. I can sort this by ID, but I need to distribute (on a separate column) each day of the stay (Starting with the check in date and excluding the check out date).

I hope the file in the link below explains what I mean (The intended result column is listed as "Target")

https://www.dropbox.com/s/p0dt285lnntne7k/CHALLENGE.xlsx

Thank you so much in advance!

도움이 되었습니까?

해결책

Please try:

=IF(A1=A2,D1+1,B2)  

in D2 and copied down to suit.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top