Donate to Remove ads

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

Seek assistance with all types of tech. - computer, phone, TV, heating controls etc.
Novoiceleft
Lemon Pip
Posts: 98
Joined: March 15th, 2017, 8:14 pm
Has thanked: 37 times
Been thanked: 10 times

Excel formula needed

#208056

Postby Novoiceleft » March 16th, 2019, 11:00 am

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

kiloran
Lemon Quarter
Posts: 4112
Joined: November 4th, 2016, 9:24 am
Has thanked: 3247 times
Been thanked: 2852 times

Re: Excel formula needed

#208063

Postby kiloran » March 16th, 2019, 11:41 am

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

ReformedCharacter
Lemon Quarter
Posts: 3133
Joined: November 4th, 2016, 11:12 am
Has thanked: 3630 times
Been thanked: 1519 times

Re: Excel formula needed

#208066

Postby ReformedCharacter » March 16th, 2019, 11:48 am

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

mc2fool
Lemon Half
Posts: 7886
Joined: November 4th, 2016, 11:24 am
Has thanked: 7 times
Been thanked: 3043 times

Re: Excel formula needed

#208067

Postby mc2fool » March 16th, 2019, 11:59 am

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"))

XFool
The full Lemon
Posts: 12636
Joined: November 8th, 2016, 7:21 pm
Been thanked: 2608 times

Re: Excel formula needed

#208072

Postby XFool » March 16th, 2019, 12:32 pm

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?... :o


Return to “Technology - Computers, TV, Phones etc.”

Who is online

Users browsing this forum: No registered users and 41 guests