i cant figure out what is wrong with my formula

lilhotch14

Board Regular
Joined
Sep 3, 2006
Messages
75
im doin a workbook for bowling payments and i cant get a formula correct. can anyone help?

this is the formula

=IF(B9:G9="Absent",0,IF(F$6="No Bowl",F10,IF(G9="Absent",$AP10+F10,F10+$AQ10)))


AP!0 is the value if absent, and AQ10 is when they are there. when i make cell G9 absent, it becomes 0, when its suppose to be F10+AP10.

do you understand my problem?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,749
I can say that the expression

=IF(B9:G9="Absent"

in your formula is invalid, unless you are trying to create an array formula (CSE) which I don't think you do.

Try this:

=IF(G9="Absent",$AP10+F10,IF(F$6="No Bowl",F10,(F10+$AQ10)))
 

lilhotch14

Board Regular
Joined
Sep 3, 2006
Messages
75
the +IF(B9:G9="Absent" part im trying to get to be so if B9, C9, D9, E9, F9, & G9 are all "Absent" then i want it to be 0, and if only G9 is absent i want it to be F10+$AP10
 

acw

MrExcel MVP
Joined
Feb 13, 2004
Messages
4,814
Hi

Try

Code:
=IF(COUNTIF(B9:G9,"Absent")=6,0,IF(F$6="No Bowl",F10,IF(G9="Absent",$AP10+F10,F10+$AQ10)))


Tony
 

Forum statistics

Threads
1,141,728
Messages
5,708,134
Members
421,548
Latest member
douae

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
Top