hi all
countif in (column I ) give me no of times a room(column C) is been booked
need to know for how many total days(col F ) the room is been occupied
thanks
file attached
hi all
countif in (column I ) give me no of times a room(column C) is been booked
need to know for how many total days(col F ) the room is been occupied
thanks
file attached
Maybe this?
=SUMIF($C$2:$C$13,H2,$F$2:$F$13)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Are you looking for the formula to go into column J?
It would have been helpful to see the expected results which can be entered manually.
If you want the total number of days per room, try this in J2:
=SUMIF(C:C,H2,F:F)
Drag the formula down as far as needed.
Also, your profile says that you are using Excel 2003 but your workbook is a .xlsx which comes from Excel 2007 or newer.
Updating your profile with your current Excel version helps us tailor suggestions to your specific needs.
hi all
sorry for late reply
thanks to falcondude the problem is solved
thanks
You're welcome. Glad we could help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks