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

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
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)))
 
Upvote 0
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
 
Upvote 0
Hi

Try

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


Tony
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,397
Members
448,957
Latest member
Hat4Life

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
Back
Top