Validate multiple cells (Not Range) that contain a value, if so, return "Complete"

raisedwell

New Member
Joined
Mar 4, 2010
Messages
19
I have a comprehensive checklist that I would like validate if multiple cells contain a value (*) and then provide a status of "Complete" or "Incomplete at the top of the checklist.

(The goal is to ensure that all questions are answered and none were skipped or left blank.)

Scenario #1 (Singe worksheet)
The cells that I need to validate are specific answers and are not in a range of continuous cells (ex. B2, B3, B4, B5) but rather various specific cells (ex. B2, B5, B9, B11, B22).

Scenario #2 (2 Different Worksheets)
Same as above but the cells span across 2 different worksheets. (ex. Sheet1 & Sheet2)

Thanks in advance. :)
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
12,212
Maybe:

Book1
ABCDE
1
2*CompleteComplete
3Complete
4
5*
6
7
8
9*
10
11*
12
13
14
15
16
17
18
19
20
21
22*
23
Sheet99
Cell Formulas
RangeFormula
E2E2=IF((B2="*")+(B5="*")+(B9="*")+(B11="*")+(B22="*")+(Sheet98!C3="*")+(Sheet98!C5="*")=7,"Complete","Incomplete")
D2D2=IF(SUMPRODUCT(--(COUNTIF(OFFSET(B1,{1,4,8,10,21},0),"~*")))=5,"Complete","Incomplete")
D3D3=IF(AND(SUMPRODUCT(--(COUNTIF(OFFSET(B1,{1,4,8,10,21},0),"~*")))=5,SUMPRODUCT(--(COUNTIF(OFFSET(Sheet98!C1,{2,4},0),"~*")))=2),"Complete","Incomplete")


The D2 formula works well enough if the cells are in a single column. Put the offsets of the desired cells in the array constant (they are 1 less than the row number). For 2 sheets, do 2 of the D2 formulas linked with an AND.

If there is no real pattern that can be exploited, you could just list the cells individually, like in the E2 formula.
 
Last edited:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,282
Messages
5,836,407
Members
430,425
Latest member
xlsee

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
Top