headspinning
New Member
- Joined
- Aug 16, 2011
- Messages
- 12
I am trying to come up formula that will give me what I want based on what the answer in two previous columns are. I think my issue is that I am only wanting one of the previous columns to change values....
C / D / E / F / G / H
# of kids per family/ Time In AM/ Time Out AM/ HOURS/ 1/2 hours/ CHARGE
1 / 7:15 AM / 8:00 AM / 0.75 / 2
2 / 7:30 AM / 8:00 AM / 0.50 / 1
2/ 7:45 AM / 8:00 AM / 0.25 / 1
3 / 7:14 AM / 8:00 AM / 0.77 / 2
3 / 7:14 AM/ 8:00 AM / 0.77 / 2
3/ 7:14 AM / 8:00 AM / 0.77 / 2
Our current billing plan allows for a different half hour and hour charge depending on the number of kids per family. What I would like to do is come up with a formula for column H (Charge) that will calculate that depending on how many kids they have in their family. I can get it to work for 1 child but after that I just keep getting error messages.
Here is the formula I was using:
=IF(AND(C3=1,G3=1),2.80,3.80)
What do I need to add to that so that when C3=2 & G3=1 then I get 2.25 and if not 3.20 and if C3=3 & G3=1 then I get 1.87 and if not 2.67? Can I even do that since I want G3=1 in all cases and just the value in C to change?
Thank you for your help.
Head Spinning :D
C / D / E / F / G / H
# of kids per family/ Time In AM/ Time Out AM/ HOURS/ 1/2 hours/ CHARGE
1 / 7:15 AM / 8:00 AM / 0.75 / 2
2 / 7:30 AM / 8:00 AM / 0.50 / 1
2/ 7:45 AM / 8:00 AM / 0.25 / 1
3 / 7:14 AM / 8:00 AM / 0.77 / 2
3 / 7:14 AM/ 8:00 AM / 0.77 / 2
3/ 7:14 AM / 8:00 AM / 0.77 / 2
Our current billing plan allows for a different half hour and hour charge depending on the number of kids per family. What I would like to do is come up with a formula for column H (Charge) that will calculate that depending on how many kids they have in their family. I can get it to work for 1 child but after that I just keep getting error messages.
Here is the formula I was using:
=IF(AND(C3=1,G3=1),2.80,3.80)
What do I need to add to that so that when C3=2 & G3=1 then I get 2.25 and if not 3.20 and if C3=3 & G3=1 then I get 1.87 and if not 2.67? Can I even do that since I want G3=1 in all cases and just the value in C to change?
Thank you for your help.
Head Spinning :D
Last edited: