Hello....
I am needing help on an excel formula to populate column C based on Columns A and B
Column A=0 Column B = 0 Column C = None
Column A=0 Column B = 1 Column C = Granted
Column A=1 Column B = 0 Column C = Pending
Column A=1 Column B = 1 Column C = Granted
I tried myself using various IF AND OR permutations, but I am beaten.
Thanks for any help
NoVoice
Got a credit card? use our Credit Card & Finance Calculators
Thanks to eyeball08,Wondergirly,bofh,johnstevens77,Bhoddhisatva, for Donating to support the site
Excel formula needed
-
- Lemon Pip
- Posts: 98
- Joined: March 15th, 2017, 8:14 pm
- Has thanked: 37 times
- Been thanked: 10 times
-
- Lemon Quarter
- Posts: 4112
- Joined: November 4th, 2016, 9:24 am
- Has thanked: 3247 times
- Been thanked: 2852 times
Re: Excel formula needed
start out with:
C1: =IF(AND(A1=0,B1=0),"None","---")
This will work for None, otherwise it will display "---"
Now replace "---" with another IF:
C1: =IF(AND(A1=0,B1=0),"None",IF(AND(A1=0,B1=1),"Granted","---"))
That will work for None and Granted, otherwise display "---"
Just keep building it up, replacing "---" with another IF statement. Do it step by step. You might find it useful to save each working formula to a text file so that you can reinstate it if your changes create an error. It's VERY easy when building these formulas to miss out a " or ) and get an error, and VERY hard to locate the error
--kiloran
C1: =IF(AND(A1=0,B1=0),"None","---")
This will work for None, otherwise it will display "---"
Now replace "---" with another IF:
C1: =IF(AND(A1=0,B1=0),"None",IF(AND(A1=0,B1=1),"Granted","---"))
That will work for None and Granted, otherwise display "---"
Just keep building it up, replacing "---" with another IF statement. Do it step by step. You might find it useful to save each working formula to a text file so that you can reinstate it if your changes create an error. It's VERY easy when building these formulas to miss out a " or ) and get an error, and VERY hard to locate the error
--kiloran
-
- Lemon Quarter
- Posts: 3133
- Joined: November 4th, 2016, 11:12 am
- Has thanked: 3630 times
- Been thanked: 1519 times
Re: Excel formula needed
Novoiceleft wrote:Hello....
I am needing help on an excel formula to populate column C based on Columns A and B
Column A=0 Column B = 0 Column C = None
Column A=0 Column B = 1 Column C = Granted
Column A=1 Column B = 0 Column C = Pending
Column A=1 Column B = 1 Column C = Granted
I tried myself using various IF AND OR permutations, but I am beaten.
Thanks for any help
NoVoice
=IF(AND(A1=0,B1=0),"NONE",IF(AND(A1=0,B1=1),"GRANTED",IF(AND(A1=1,B1=0),"PENDING",IF(AND(A1=1,B1=1),"GRANTED",))))
RC
-
- Lemon Half
- Posts: 7886
- Joined: November 4th, 2016, 11:24 am
- Has thanked: 7 times
- Been thanked: 3043 times
Re: Excel formula needed
Novoiceleft wrote:I am needing help on an excel formula to populate column C based on Columns A and B
Column A=0 Column B = 0 Column C = None
Column A=0 Column B = 1 Column C = Granted
Column A=1 Column B = 0 Column C = Pending
Column A=1 Column B = 1 Column C = Granted
I tried myself using various IF AND OR permutations, but I am beaten.
Well if A and B are only ever 0 or 1 then the simplest is...
C1: =IF(B1=0,IF(A1=0,"None","Pending"),"Granted")
or if you prefer...
C1: =IF(B1=1,"Granted",IF(A1=0,"None","Pending"))
-
- The full Lemon
- Posts: 12636
- Joined: November 8th, 2016, 7:21 pm
- Been thanked: 2608 times
Re: Excel formula needed
Novoiceleft wrote:Hello....
I am needing help on an excel formula to populate column C based on Columns A and B
Column A=0 Column B = 0 Column C = None
Column A=0 Column B = 1 Column C = Granted
Column A=1 Column B = 0 Column C = Pending
Column A=1 Column B = 1 Column C = Granted
I tried myself using various IF AND OR permutations, but I am beaten.
Thanks for any help
NoVoice
NoVoiceleft? "None"; "Granted"; "Pending"?
Surely not?...
Return to “Technology - Computers, TV, Phones etc.”
Who is online
Users browsing this forum: No registered users and 41 guests