- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 21, 2022 10:13 AM
I'm trying to compare data from 2 columns to result in a rating.
I'm trying to break it down first before going crazy with multiple IF AND statements. Below is the first working example:
IF(AND(A=100, B=100), 5, BLANK())
Below are the conditions
- IF A=100 AND B=100, rate 5
- IF A<100, A>=97 AND B<100, B>=97, rate 4
- IF A<97, A>=94 AND B<97, B>=94, rate 3
I have tried the following and it's not working
IF(AND(A=100, B=100), 5, IF(OR(AND(A<=100, A>=97), AND(B<=100,B>=78))), 4, BLANK()))
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 21, 2022 08:40 PM
Hm could you give this a shot?
IF(
AND(
A=100,
B=100
),
5,
IF(
AND(
A<=100,
A>=97
B<=100,
B>=78
),
4
)
)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 21, 2022 08:40 PM
Missing comma after `A>=97`, sorry. Can't edit posts if not I'd fix it
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jan 11, 2023 07:43 PM
Hi Adam, I tried this and it didn't work. I ended up doing it manually.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jan 11, 2023 10:53 PM - edited ‎Jan 11, 2023 10:54 PM
Roger that, glad you got it working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Jan 12, 2023 06:58 AM
Thanks for trying to help!
