Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]() I am trying to add a formula to a schudule spread sheet that will allow me to input dates of different events happening in town, and how many people are expected to be at each event, then for each day give me a total number of potential people in town. For example: Cells B4:B11 = days of the week (7/4 - 7/10) Cells B12 and B13 = Start date and end date of event (conventions etc.) Cell B14 = Number of people at event. I would like to have Cell A4:A11 contain the number of people in town. If I only have one event in town, this is easy, but where I am running into a problem is when there is more than one convention in town, and with different begin and end dates. For example: B12 = 7/4, B13 = 7/10, B14 = 1000 C12 = 7/4, C13 = 7/5, C14 = 1000 I would like for Cell A4 and A5 to both show 2000 (total number of people in town for event) but A6 thru A11 to show 1000 ( first convention ended, second still going) Can anybody give me a hint as to how to make this work? Thanks in advance. Darron -- djeans ------------------------------------------------------------------------ djeans's Profile: http://www.excelforum.com/member.php...fo&userid=1401 View this thread: http://www.excelforum.com/showthread...hreadid=384089 |
#2
![]() |
|||
|
|||
![]() in cell a4 and copied down thru a11 =SUMPRODUCT((B4=$B$12:$C$12)*(B4<=$B$13:$C$13)*($ B$14:$C$14)) -- duane ------------------------------------------------------------------------ duane's Profile: http://www.excelforum.com/member.php...o&userid=11624 View this thread: http://www.excelforum.com/showthread...hreadid=384089 |
#3
![]() |
|||
|
|||
![]() Thank you for your reply, I think that I made a stupid mistake in listing the formulas Correction = Cells B4:H4 = days of the week (7/4 - 7/10) Cell I4 = Number of people at event. Cells J4 and K4 = Start date and end date of event (conventions etc.) I would like to have Cell B5:H5 contain the number of people in town. Sorry for making such a rookie mistake. Can you still help? Thanks Darron -- djeans ------------------------------------------------------------------------ djeans's Profile: http://www.excelforum.com/member.php...fo&userid=1401 View this thread: http://www.excelforum.com/showthread...hreadid=384089 |
#4
![]() |
|||
|
|||
![]() now i am confused because this last description only leaves room for one event (in row 4) -- duane ------------------------------------------------------------------------ duane's Profile: http://www.excelforum.com/member.php...o&userid=11624 View this thread: http://www.excelforum.com/showthread...hreadid=384089 |
#5
![]() |
|||
|
|||
![]() Sorry, I should have specified, The events will basically follow in the same columns going down. IE, the next event would be in row 5, the third row 6, and so on. There may be as few as 2 events, but as many as 10. Thanks again for your patience and help. Darron -- djeans ------------------------------------------------------------------------ djeans's Profile: http://www.excelforum.com/member.php...fo&userid=1401 View this thread: http://www.excelforum.com/showthread...hreadid=384089 |
#6
![]() |
|||
|
|||
![]() in cell b5 and copied thru h5 =SUMPRODUCT((B$4=$J$4:$J$15)*(B$4<=$K$4:$K$15)*($ I$4:$I$15)) -- duane ------------------------------------------------------------------------ duane's Profile: http://www.excelforum.com/member.php...o&userid=11624 View this thread: http://www.excelforum.com/showthread...hreadid=384089 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup cell contents in on sheet based on a formula in second sheet | Excel Worksheet Functions | |||
conditional formula - based on 2 separate criteria | Excel Worksheet Functions | |||
Can a macro be made to work based on a formula? | Excel Discussion (Misc queries) | |||
Formula to return cell contents based on multiple conditions | Excel Worksheet Functions | |||
Conditional Formatting based on Formula | Excel Worksheet Functions |