Excel Logic Checking Problem

treeantz

New Member
Joined
Apr 20, 2011
Messages
6
Hi all, I have a logic i would like to check in my excel sheet but couldn't figure out the correct syntax to get it to work. I really hope someone could lend me a helping hand.

Here's the scenario

I would a cell to return the value "1" if the following conditions are met

Status = "Completed purchase form"
Payment Status = "Payment via credit card" OR "payment via cheque"

AND

Received Date = must be filled in

Here's what i came out so far

Cell A's formula (1 = false, 0 = true)

=IF(AND([@Status]="Completed purchase form",[@[Payment Status Status]]="Payment via Credit Card",[@[Received Date]]=""),1,IF(OR([@Status]="Completed purchase",[@[Follow On Status]]="payment via cheque",[@[LOE/SAR Received Date]]=""),1,0))

Again, any help will be appreciated.
Thanks in advance
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi treeantz,
Wecome to the board.
I do not know what the "@" mean in your formula but
I named my cell as fallow:

B1=Status
B2= Payment Status
C2= ReceivedDate

and the formula is:

=IF(AND(Status="Completed purchase form",OR(Payment_Status="Payment via Credit Card",Payment_Status="payment via cheque"),ReceivedDate<>""),1,0)
 
Upvote 0

Forum statistics

Threads
1,224,616
Messages
6,179,911
Members
452,949
Latest member
beartooth91

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