Multiple ISBLANK

EmmaTM

Board Regular
Joined
Jan 5, 2022
Messages
74
Office Version
  1. 365
Platform
  1. Windows
Hi - I have the following in a spreadsheet:
1702324277662.png

In column J so far I have =IF(ISBLANK(B79),TEXTJOIN(,,"PROJECT CODE NOT LISTED: ",AB79),IF(ISBLANK(F79),TEXTJOIN(,,"RESOURCE CODE MISSING: ",AB79),""))

So if B or F is blank the detail is added into AB and this updates the notes.
I also need to add to this if AC= LATE TIMESHEET that needs to update J with that note.
If B&F are blank & AC is late timesheet I need the note to display all 3 options

Do I need to seperate AB and have a note for project and another column for resource code detail if B&F are blank?

Thank you
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Try

Excel Formula:
=IF(AND(B79="",F79="",AC79="Late Timesheet"),"PROJECT CODE NOT LISTED: "&AB79&" RESOURCE CODE MISSING: "&AB79&" Late Timesheet",IF(B79="","PROJECT CODE NOT LISTED: "&AB79,IF(F79="","RESOURCE CODE MISSING: "&AB79,"")))
 
Upvote 0
If your question has not been answered by the above formula, please supply some new sample data that includes enough rows to show examples of all the possible combinations of BLANKS/NON-BLANKS/LATE TIMESHEET etc and manually input the desired results in column J.

Additionally, it would help us help you better if we could easily use your sample data for testing. We can't do that from an image, but can if you provide the sample data and expected results with XL2BB
With XL2BB, as with your image above, irrelevant columns can be hidden before you use XL2BB
 
Upvote 0
Try

Excel Formula:
=IF(AND(B79="",F79="",AC79="Late Timesheet"),"PROJECT CODE NOT LISTED: "&AB79&" RESOURCE CODE MISSING: "&AB79&" Late Timesheet",IF(B79="","PROJECT CODE NOT LISTED: "&AB79,IF(F79="","RESOURCE CODE MISSING: "&AB79,"")))
Thank you, I did this but added in columns AA where the project code is missing, AB where the resource code is missing & AC if late timesheet.
This works if B & F are both blank but if one of them is complete then the supplier note only shows with the missing project code or missing resource code and not the late timesheet.

Thank you

1702409004034.png
 
Upvote 0
So ..?
.. please supply some new sample data that includes enough rows to show examples of all the possible combinations of BLANKS/NON-BLANKS/LATE TIMESHEET etc and manually input the desired results in column J.

.. can if you provide the sample data and expected results with XL2BB
 
Upvote 0
I am sorry I am having real issues trying to get this on the XL2BB.

Here is some data - not sure if you can help with this as is ?
PROJECTRESOURCE REQUESTEDTIMESHEET WEEK ENDING DATESUPPLIER NOTESMISSING PROJECT CODEMISSING RESOURCE CODELATE TIMESHEET
73PO-00878LABOURER09/12/2023
73PO-00884CONSTRUCTION MANAGER09/12/2023
73PO-00878PROJECT ENGINEER09/12/2023
73PO-00728PLANNING ENGINEER18/11/2023LATE TIMESHEET
73PO-00728PLANNING ENGINEER25/11/2023LATE TIMESHEET
73PO-00728PLANNING ENGINEER02/12/2023
09/12/2023PROJECT CODE NOT LISTED: 73CO-0091273CO-00912PROJECT MANAGERLATE TIMESHEET
PROJECT MANAGER09/12/2023PROJECT CODE NOT LISTED: 73CO-0091273CO-00912
73PO-00560SITE MANAGER09/12/2023
73PO-00560CONSTRUCTION MANAGER09/12/2023
73PO-00560SENIOR ENGINEER09/12/2023
73PO-0084809/12/2023RESOURCE CODE MISSING: T&C CO-ORDINATORT&C CO-ORDINATOR
COSS02/12/2023PROJECT CODE NOT LISTED: 73PO-7920673PO-79206
730392CONSULTANT09/12/2023
SYSTEMS ENGINEER09/12/2023PROJECT CODE NOT LISTED: 73CX-0078673CX-00786
73PO-00884ADMINISTRATOR09/12/2023

Supplier notes I want to list the following detail: if project column is blank the project code is shown in missing project column, if resource is missing this is shown in missing resource column, if a late timesheet then its shown in late timesheet column.
I have 1 row where I have all 3 notes required so I want it shown as PROJECT CODE NOT LISTED: 73CO-00912 / MISSING RESOURCE CODE: PROJECT MANAGER / LATE TIMESHEET
If there is nothing missing it should be blank, if 2 of the creiteria are missing then that should be shown.

I hope I have explained that ok?

This was my original attempt, without the LATE TIMESHEET included:
=IF(ISBLANK(B13),TEXTJOIN(,,"PROJECT CODE NOT LISTED: ",AA13),IF(ISBLANK(F13),TEXTJOIN(,,"RESOURCE CODE MISSING: ",AB13),""))

Thank you
 
Upvote 0
Thanks for the sample data. (y)

I hope I have explained that ok?
Better, other than that you didn't enter in the expected results down column J. ;)

I think then this is what you want? If not, please post the expected results as you want them, not as you have them so far.

23 12 13.xlsm
BFIJAAABAC
5PROJECTRESOURCE REQUESTEDTIMESHEET WEEK ENDING DATESUPPLIER NOTESMISSING PROJECT CODEMISSING RESOURCE CODELATE TIMESHEET
673PO-00878LABOURER9/12/2023 
773PO-00884CONSTRUCTION MANAGER9/12/2023 
873PO-00878PROJECT ENGINEER9/12/2023 
973PO-00728PLANNING ENGINEER18/11/2023LATE TIMESHEETLATE TIMESHEET
1073PO-00728PLANNING ENGINEER25/11/2023LATE TIMESHEETLATE TIMESHEET
1173PO-00728PLANNING ENGINEER2/12/2023 
129/12/2023PROJECT CODE NOT LISTED: 73CO-00912 / MISSING RESOURCE CODE: PROJECT MANAGER / LATE TIMESHEET73CO-00912PROJECT MANAGERLATE TIMESHEET
13PROJECT MANAGER9/12/2023PROJECT CODE NOT LISTED: 73CO-0091273CO-00912
1473PO-00560SITE MANAGER9/12/2023 
1573PO-00560CONSTRUCTION MANAGER9/12/2023 
1673PO-00560SENIOR ENGINEER9/12/2023 
1773PO-008489/12/2023MISSING RESOURCE CODE: T&C CO-ORDINATORT&C CO-ORDINATOR
18COSS2/12/2023PROJECT CODE NOT LISTED: 73PO-7920673PO-79206
19730392CONSULTANT9/12/2023 
20SYSTEMS ENGINEER9/12/2023PROJECT CODE NOT LISTED: 73CX-0078673CX-00786
EmmaTM
Cell Formulas
RangeFormula
J6:J20J6=TEXTJOIN(" / ",1,IF(B6="","PROJECT CODE NOT LISTED: "&AA6,""),IF(F6="","MISSING RESOURCE CODE: "&AB6,""),IF(AC6="","",AC6))
 
Upvote 1
Solution
You're welcome. Glad we could help. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,988
Members
449,093
Latest member
Mr Hughes

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