1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Using AND and OR within the same formula - Part 2

Our take

In this discussion, we delve into the challenge of combining multiple conditions using the AND and OR functions within a single formula. Specifically, we explore how to structure a formula that meets two scenarios: when A equals 0 and B is one of 0, 1, or 2, or when A equals 1 and B is either 0 or 1. This inquiry builds on previous insights shared by the community, and your expertise is invaluable in crafting a solution that simplifies data analysis.

Thanks all for helping with a similar query earlier. I have another condition for the same dataset that I’m analysing. I would like the following:

A = 0

AND

B = one of 0, 1, 2

OR

A=1

AND

B = 0 or 1

Is it possible combine both of these into a single formula? Thank you

submitted by /u/pinkdaisiesss
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with

#Excel alternatives for data analysis#natural language processing for spreadsheets#generative AI for data analysis#AI formula generation techniques#rows.com#formula generator#Excel compatibility#large dataset processing#financial modeling with spreadsheets#Excel alternatives#AND#OR#formula#dataset#A#B#condition#query#combine#analysis