Combining forumlas to get a desired output?

2weetabix

New Member
Joined
Nov 5, 2009
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I hope someone can help as brain fog is stepping in my way of solving this one.

I'm trying to put some logic into a spreadsheet so it automatically prints a comment in the last cell (D) based on the combinatin of TRUE/FALSE values
Cells A to C are automatically populated with TRUE or FALSE values as show.
There are three possible combinations of values:

1708442935833.png


Comments greatly appreciated
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
what do you want if those 3 conditions do not exist

=AND( A2=TRUE,B2=TRUE,C2=TRUE) and a combination of those
=IF(AND(A2=TRUE,B2=TRUE,C2=TRUE),"Consider for removal",IF(AND(A2=FALSE,B2=FALSE,C2=FALSE),"User never logged on",IF(AND(A2=TRUE,B2=FALSE,C2=FALSE),"User has logged on - don't bother about reporting this one","")))A2=TRUE,B2=FALSE,C2=FALSE), "User has logged on - don't bother about reporting this one", "")))

Cell Formulas
RangeFormula
D2:D4D2=IF(AND(A2=TRUE,B2=TRUE,C2=TRUE),"Consider for removal",IF(AND(A2=FALSE,B2=FALSE,C2=FALSE),"User never logged on",IF(AND(A2=TRUE,B2=FALSE,C2=FALSE),"User has logged on - don't bother about reporting this one","")))
 
Upvote 0
what do you want if those 3 conditions do not exist

=AND( A2=TRUE,B2=TRUE,C2=TRUE) and a combination of those
=IF(AND(A2=TRUE,B2=TRUE,C2=TRUE),"Consider for removal",IF(AND(A2=FALSE,B2=FALSE,C2=FALSE),"User never logged on",IF(AND(A2=TRUE,B2=FALSE,C2=FALSE),"User has logged on - don't bother about reporting this one","")))A2=TRUE,B2=FALSE,C2=FALSE), "User has logged on - don't bother about reporting this one", "")))

Cell Formulas
RangeFormula
D2:D4D2=IF(AND(A2=TRUE,B2=TRUE,C2=TRUE),"Consider for removal",IF(AND(A2=FALSE,B2=FALSE,C2=FALSE),"User never logged on",IF(AND(A2=TRUE,B2=FALSE,C2=FALSE),"User has logged on - don't bother about reporting this one","")))
That's brilliant, i am so very grateful for this - such a quick reponse.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top