multiple cell len formula

Linsie

New Member
Joined
Jul 19, 2012
Messages
27
Office Version
  1. 2021
Platform
  1. Windows
Hi,


I have a formula of =IF(LEN(C2)=0, "ACTION REQUIRED", "Completed") which is working great when only looking at one cell (ie C2).

However, in some columns I need it to work to search cells H2:K2 also.

I have tried using =IF(LEN(H2:K2)=0, "ACTION REQUIRED", "Completed") but it returns a #spill! error.

How can I resolve this please?
 

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 version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also can you explain what you are trying to do & what the result should be.
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also can you explain what you are trying to do & what the result should be.
Thanks Fluff, was not aware of that part in my profile, I have just updated it.

I am using office 2021.


I have 2 tables the orange one is fed data that shows me the date the course was completed.
The yellow table is used to notify people of actions required, however, some courses there are a few different versions, so I need the formula to check the cells for each variation of the name and return the overall status.

(hope this all makes sense)


Training Tracker 2024 v2.xlsx
ABCDEFGHIJKLMNOPQR
1EngineerTeamA Guide to Data Classification using CPI-810 (VZ47959)Anti-Bribery and Anti-Corruption (VZ151651)CPNI Annual Training 2023 - EmployeesCPNI Annual Training 2024 (VZ152201)Global Trade CompliancePhishing - Don't Get Hooked!Phishing - Don't Get Hooked! (Cyber Health at Verizon Plan - Intermediate)Phishing Awareness: Don't Get HookedPhishing Awareness: Don't Get Hooked (VZ103227)Privacy and Information Security (VZ108040)Privacy and Information Security: Online CoursePrivacy and Information Security: Online Course (VZ108040)Privileged Users 101Privileged Users 101 (VZ130145)Privileged Users 101 (VZ130145A)Reliability Matters: Episode 6 Maintenance Hygiene (VZ132307)
2Enginner 1ODCM15/09/202316/11/202330/03/202308/02/2024########20/06/202322/06/2023
3Enginner 2GNO-A14/11/202317/04/202309/02/2024########
4Enginner 3GNO-A24/11/202322/03/2023########10/01/2024
5Enginner 4OSES30/11/202320/04/202323/02/2024########15/02/202315/02/202316/02/2023
6Enginner 5ODCM15/09/202315/11/202317/03/202308/02/2024########13/06/202313/06/202301/02/202313/06/2023
7Enginner 6Storage24/11/202317/04/202304/04/2024########
8Enginner 7ODCM19/09/202328/11/202330/03/202313/03/2024########04/08/202310/08/202310/08/2023
9Enginner 8ODCM00/01/190009/11/202321/03/202302/04/2024########01/02/2023
10Enginner 9PSD16/11/202317/03/202307/03/2024########23/02/2023
11Enginner 10OSES22/11/202328/03/202314/03/2024########19/07/202321/07/2023
12Enginner 11OSS08/11/202320/03/202308/02/2024########
13Enginner 12SSM08/11/202322/03/202312/03/2024########07/08/202309/08/2023
14Enginner 13Storage08/11/202303/04/202315/03/2024########30/08/2023
15Enginner 14ODCM15/11/202303/04/202327/02/2024########28/07/2023
16Enginner 15PSD17/04/202408/11/202317/03/202308/02/2024########13/02/202301/02/202317/04/202417/04/202404/09/2023
17Enginner 16OSES28/09/202325/11/202320/03/202322/02/2024########20/02/202321/07/2023
18Enginner 17OSS09/11/202323/03/202307/02/2024########
19Enginner 18OSES27/09/202309/11/202317/03/202308/02/2024########04/08/202319/01/202310/02/202307/08/202307/08/2023
20Enginner 19GNO-A22/11/202303/04/202307/02/2024########
21Enginner 20OSES12/09/202303/12/202317/03/202308/02/2024########24/02/202324/02/2023
22Enginner 21OSS10/11/202317/03/202308/02/2024########27/02/202427/02/2024
23Enginner 22ODCM08/11/202319/03/202314/02/2024########19/07/202305/02/2023
24Enginner 23OSS09/11/202317/03/202309/02/2024########
25Enginner 24ODCM15/09/202309/11/202320/03/202322/02/2024########24/07/202317/08/202310/08/2023
26Enginner 25OSES26/09/202308/11/202317/03/202326/02/2024########16/02/202316/02/2023
27Enginner 26GNO-A13/11/202322/03/202309/02/2024########
28Enginner 27OSES14/11/202323/03/202327/02/2024########25/05/202325/05/202325/05/202309/05/202320/07/2023
29Enginner 28OSES12/09/202327/11/202317/03/202321/02/2024########19/07/2023
30Enginner 29OSES18/09/202327/11/202317/03/202325/03/2024########19/07/2023
31Enginner 30OSES19/09/202308/11/202321/03/202309/02/2024########03/02/202303/02/2023
32Enginner 31GNO-A08/11/202317/03/202308/02/2024########
33
34
35EngineerTeamA Guide to Data Classification using CPI-810Anti-Bribery and Anti-CorruptionCPNI Annual Training 2023CPNI Annual Training 2024Global Trade CompliancePhishing - Don't Get Hooked!Privacy and Information SecurityPrivileged Users 101Reliability Matters: Episode 6 Maintenance Hygiene (VZ132307)Reliability Matters: Episode 9 (2023)Reliability Matters Episode 10: The Power of Prepare (2023)Reliability Matters Episode 11: The Power of Pause (2023)Reliability Matters Episode 12: The Power of Confirm (2023)Reliability Matters: Episode 13 (2024)Responsible Network Security and Protection - Term Server Ports and PasswordsSecurity Awareness: PCI, DSS, ISOO27001, NIST, The Privacy Act, and SSAE 16 & 18
36Enginner 1ODCMCompletedCompletedCompletedCompletedCompleted#SPILL!ACTION REQUIREDACTION REQUIREDCompletedACTION REQUIREDACTION REQUIREDCompletedACTION REQUIREDACTION REQUIREDACTION REQUIREDACTION REQUIRED
37Enginner 2GNO-AACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
38Enginner 3GNO-AACTION REQUIREDCompletedCompletedACTION REQUIREDCompleted#SPILL!
39Enginner 4OSESACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
40Enginner 5ODCMCompletedCompletedCompletedCompletedCompleted#SPILL!
41Enginner 6StorageACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
42Enginner 7ODCMCompletedCompletedCompletedCompletedCompleted#SPILL!
43Enginner 8ODCMCompletedCompletedCompletedCompletedCompleted#SPILL!
44Enginner 9PSDACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
45Enginner 10OSESACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
46Enginner 11OSSACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
47Enginner 12SSMACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
48Enginner 13StorageACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
49Enginner 14ODCMACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
50Enginner 15PSDCompletedCompletedCompletedCompletedCompleted#SPILL!
51Enginner 16OSESCompletedCompletedCompletedCompletedCompleted#SPILL!
52Enginner 17OSSACTION REQUIREDCompletedCompletedCompletedCompleted#SPILL!
53Enginner 18OSESCompletedCompletedCompletedCompletedCompleted#SPILL!
ISO Tracker (2)
 
Upvote 0
Thanks for that. (y)
Maybe
Excel Formula:
=IF(min(LEN(H2:K2))=0, "ACTION REQUIRED", "Completed")
 
Upvote 0
Thanks for that. (y)
Maybe
Excel Formula:
=IF(min(LEN(H2:K2))=0, "ACTION REQUIRED", "Completed")
thanks, that resolves the spill error, but it now returns action required for every entry, which is false.

I forgot to mention that I was doing the len formula to negate the issue where the formula will ignore the formulas in the orange table (they are not shown on the sheet above as I had to protect the names etc of the people so showed a copy with just the results on it.
 
Upvote 0
Orange table shows the dates that the different course titles were completed.
The yellow table is to identify where action is needed by each engineer.

Some of the courses come under slightly different names but is the same course. I need to "merge" the findings on them courses and return just one completed or action required status in the yellow table.

So example is Yellow H36 needs the formula to look at orange H2:K2 and as K2 has a date in the cell return the overall status in yellow H36 as Completed.
Whereas yellow H37 should return a status of not completed as there are no dates in H3:K3
 
Upvote 0
In that case try
Excel Formula:
=IF(max(LEN(H2:K2))=0, "ACTION REQUIRED", "Completed")
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,336
Messages
6,124,330
Members
449,155
Latest member
ravioli44

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