Excel Formula help

Calix21

New Member
Joined
Sep 24, 2014
Messages
8
I need your help excel heroes in debunking this formula.
What's the formula if i want to automatically mark x in worksheet 1 if john's training result in worksheet 2 is pass

Worksheet 1
namesafety training
Johnx

<tbody>
</tbody>

Worksheet 2
NameTrainingResult
Johnsafety trainingpass

<tbody>
</tbody>

I would appreciate all the help.


Thanks!
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
.
If your data on Sheet 1 begins in A1 :


A
B
C
1
namesafety training
2
JohnX
Paste this formula in B2 :
Code:
=IF(Sheet2!C2="Pass","X", "")

Then you can drag it down the column as far as needed.
 
Upvote 0
Thanks this will only work for one person. Here's what I really need:
I have multiple trainees and training and I need my dashboard on sheet 1 to automatically populate the corresponding cell depending on what is in sheet 2 under their name and the specific training

Sheet 1=Dashboard
x=pass
m=mandatory

nameTraining 1Training 2Training 3Training 4
John
Jane
Matt
Dan

<tbody>
</tbody>










Sheet 2 =Training records

nametraining titleresult
Matt
Training 1Pass
EricTraining 1Pass
JaneTraining 1Mandatory
ToddTraining 1Pass
DanTraining 1Mandatory
JohnTraining 1Pass
MattTraining 2Mandatory
DanTraining 2Pass
JohnTraining 2Pass

<tbody>
</tbody>

****** id="cke_pastebin" style="position: absolute; top: 454px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
Training 1

<tbody>
</tbody>
</body>
 
Upvote 0
This formula will return whatever value you have as a result. It can be modified if you just want it to show if they passed. This is an array formula so hit ctrl+shift+enter after pasting the formula.

Code:
=IFERROR(INDEX(Sheet2!$C$2:$C$10,MATCH(Sheet1!$A2&Sheet1!B$1,Sheet2!$A$2:$A$10&Sheet2!$B$2:$B$10,0)),"")
 
Upvote 0
Hi,

And this one if you must to convert pass = X & mandatory = M

Ctrl+Shift+Enter Not Just Ebter
=IFERROR(IF(INDEX(Sheet2!$C$2:$C$10,MATCH(1,IF(Sheet2!$A$2:$A$10=$A2,IF(Sheet2!$B$2:$B$10=B$1,1)),0))="Pass","X","M"),"")
 
Upvote 0

Forum statistics

Threads
1,215,299
Messages
6,124,132
Members
449,143
Latest member
LightArisen

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