r/excel•
teedo

Can I use the IF formula for True results on cels in specific columns?

solved

Getting to the point (Excel 2010), I need to figure out a formula which allows accommodates the below scenario.

I have Columns A through H. A, B and C are Section 1, D, E, F and G are Section 2, and H is Section 3. Column I is the 'outcome column'. If one of any given row, cels that read 'True' in Sections 1, 2 and 3, Column I will state 'True', but there must be at least one 'True- cel in each section.

So for example, if cels in one row of Column A, D, and H are True, then I reads True. But if D through H are True, but none of A, B or C (section 1), then it reads false.

I've been fiddling with the IF formula and can get a true reading if there is a yes but can't figure out how to get it to read False if there are no True results in one of the three sections.

Apologies if this is really straightforward, or already been answered, or if I am breaking the rules, trying to figure this out for work and it is baffling me a bit!!

Posted Jun 23, 2020, 4:39 PM UTC

15
AmphibiousWarFrogs377•
=AND(COUNTIF(A1:C1,TRUE)>0,COUNTIF(D1:G1,TRUE)>0,H1=TRUE)

Not sure if it'll work in Excel 2010 but there's also,

=AND(OR(A1:C1=TRUE),OR(D1:G1=TRUE),H1=TRUE)
2
teedoOP•

Solution Verified.

Thank you very much!!

2
Clippy_Office_AsstMOD•

You have awarded 1 point to AmphibiousWarFrogs

^I ^am ^a ^bot, ^please ^contact ^the ^mods ^with ^any ^questions.

1
AutoModeratorMOD•

u/teedo - please read this comment in its entirety.

Once your problem is solved, please reply to the answer(s) saying Solution Verified to close the thread.

Please ensure you have read the rules -- particularly 1 and 2 -- in order to ensure your post is not removed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1
wiredwalking760•

for row 2, have this in I2:

=AND(OR(A2=TRUE,B2=TRUE,C2=TRUE),OR(D2=TRUE,E2=TRUE,F2=TRUE,G2=TRUE),H2=TRUE)

drag down

1