Thanks for the help earlier. I managed to do it ... !!
Now I have another similar one
I have 4 columns A, B, C, D which can contain only "1" or "0"
I want a result in Column E as follows
Column E = "1" if either A or B = "1". But, that is overridden if either columns C or D = "1" - in which case Column E = "0".
Many thanks !!
NoVoice
Got a credit card? use our Credit Card & Finance Calculators
Thanks to Rhyd6,eyeball08,Wondergirly,bofh,johnstevens77, for Donating to support the site
Another Excel needed
-
- Lemon Pip
- Posts: 98
- Joined: March 15th, 2017, 8:14 pm
- Has thanked: 37 times
- Been thanked: 10 times
-
- Lemon Slice
- Posts: 655
- Joined: August 31st, 2018, 9:08 pm
- Has thanked: 268 times
- Been thanked: 251 times
Re: Another Excel needed
Novoiceleft wrote:Thanks for the help earlier. I managed to do it ... !!
Now I have another similar one
I have 4 columns A, B, C, D which can contain only "1" or "0"
I want a result in Column E as follows
Column E = "1" if either A or B = "1". But, that is overridden if either columns C or D = "1" - in which case Column E = "0".
Many thanks !!
NoVoice
Try this
=IF(SUM(C3:D3)>=1,0,1)
-
- Lemon Half
- Posts: 6385
- Joined: November 4th, 2016, 11:35 am
- Has thanked: 1882 times
- Been thanked: 2026 times
Re: Another Excel needed
wouldn't work for all zeroes?
I don't like big nested statements
I tend to concatenate the columns and use a table with vlookup
Easier if you use y and n rather than 1 and 0
So you may get yyny, yyyn etc
I don't like big nested statements
I tend to concatenate the columns and use a table with vlookup
Easier if you use y and n rather than 1 and 0
So you may get yyny, yyyn etc
-
- Lemon Slice
- Posts: 655
- Joined: August 31st, 2018, 9:08 pm
- Has thanked: 268 times
- Been thanked: 251 times
Re: Another Excel needed
AleisterCrowley wrote:wouldn't work for all zeroes?
I don't like big nested statements
I tend to concatenate the columns and use a table with vlookup
Easier if you use y and n rather than 1 and 0
So you may get yyny, yyyn etc
No, it won't work if all values are zero and I should have stated that. I assumed (which may be wrong) that there would be a 1 value somewhere.
-
- Lemon Pip
- Posts: 98
- Joined: March 15th, 2017, 8:14 pm
- Has thanked: 37 times
- Been thanked: 10 times
Re: Another Excel needed
Thanks EssDeeAitch but I don't think that, on its own, takes account of the first condition.... I will try to add it to something that deals with the first bit.
Aleister - I agree - but this is actually a dry run for a Sharepoint formula I need and Sharepoint does not have VLOOKUP !
NoVoice
Aleister - I agree - but this is actually a dry run for a Sharepoint formula I need and Sharepoint does not have VLOOKUP !
NoVoice
-
- Lemon Quarter
- Posts: 4858
- Joined: November 4th, 2016, 10:15 am
- Has thanked: 614 times
- Been thanked: 2705 times
-
- Lemon Pip
- Posts: 98
- Joined: March 15th, 2017, 8:14 pm
- Has thanked: 37 times
- Been thanked: 10 times
-
- Lemon Slice
- Posts: 621
- Joined: November 4th, 2016, 3:46 pm
- Has thanked: 606 times
- Been thanked: 368 times
Return to “Technology - Computers, TV, Phones etc.”
Who is online
Users browsing this forum: No registered users and 28 guests