IF and MATCH

PaulyK

Board Regular
Joined
Aug 27, 2015
Messages
50
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Hi,

I have two spreadsheets. Non Compliance and Time Allocation Days. I have an IF formula which displays "Entered" if a cell in the Non-Compliance spreadsheet has data entered and "Not Entered" if the cell is blank each month column..
In Column A on both spreadsheets I have a list of Names. Columns D,F,H,J contain a separate unrelated Formula on my Master doc, so have left them blank in this ecample.

What i need to do is Match the name and the IF statement. i.e Did Person 3 Enter Anything in the May column? Is there a way to do this? Currently as a fix I am having to copy the current list of People in Column A of the 'Time Allocation - Days' sheet, in column A of the 'Non-Compliance' spreadsheet - but that is not ideal!

Or am i doing it all wrong?

Paul

Time-Allocation Days

Book4
ABCDEFGHIJ
1NAMETEAMDays for Apr-22Apr-22Days for May 22May-22Days for June 22Jun-22Days for July 22Jul-22
2Person115.015.015.010.0
3Person21.0
4Person31.01.01.01.0
5Person41.0
6Person5
7Person620.019.014.0
8Person7
9Person819.020.020.020.0
10Person9
11Person1020.020.0
12Person1111.0
13Person127.51.0
14Person133.0
15Person1421.04.04.04.0
16Person155.0
17Person1614.011.0
18Person1720.0
19Person186.0
20Person194.0
21Person205.05.0
22Person21
23Person2222.022.022.022.0
24Person23
25Person247.521.0
Time allocation - Days
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:J25Expression=ISBLANK(C2)=TRUEtextNO


Non-Compliance

Cell Formulas
RangeFormula
C5:C28C5=IF('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!I3<>"","Entered","No Entry")
D5:D28D5=IF('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!K3<>"","Entered","No Entry")
E5:E28E5=IF('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!M3<>"","Entered","No Entry")
F5:F28F5=IF('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!O3<>"","Entered","No Entry")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C5:F28Cell Value="No Entry"textNO
C5:F28Cell Value="Entered"textNO
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Try
Excel Formula:
=IF(countifs('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!A:A,A5,'[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!I:I<>""),"Entered","No Entry")
 
Upvote 0
Realise i didn't update the example table formula in my example.

Cell Formulas
RangeFormula
C5:C28C5=IF('Time allocation - Days'!C2<>"","Entered","No Entry")
D5:D28D5=IF('Time allocation - Days'!E2<>"","Entered","No Entry")
E5:E28E5=IF('Time allocation - Days'!G2<>"","Entered","No Entry")
F5:F28F5=IF('Time allocation - Days'!I2<>"","Entered","No Entry")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C5:F28Cell Value="No Entry"textNO
C5:F28Cell Value="Entered"textNO
 
Upvote 0
Try
Excel Formula:
=IF(countifs('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!A:A,A5,'[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!I:I<>""),"Entered","No Entry")
oh i like the look of that... however I am getting an error message to say "You've entered too few arguments for this function"
 
Upvote 0
Oops it should be
Excel Formula:
=IF(countifs('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!A:A,A5,'[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!I:I,"<>"),"Entered","No Entry")
 
Upvote 0
Solution
Oops it should be
Excel Formula:
=IF(countifs('[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!A:A,A5,'[Resource Allocation Tool - RAT.xlsx]Time allocation - Days'!I:I,"<>"),"Entered","No Entry")
Brilliant. Thank you
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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