Help with an If/And/Else Formula (I Think)

Dnoslo

New Member
Joined
Jan 2, 2017
Messages
2
Hello I am trying to create a formula for an employee schedule. I have all the employee's listed on the first page, then on the subsequent pages are the different calendar weeks and positions. So I'm trying to create a formula that says If Kim McLane is in any of these cells on the Jan 1-7 tab, then put the appropriate position under her name for that day on the overview tab. This is the formula I wrote, but there is something wrong with it.

Page 1

open


Page 2

open



=IF(‘Jan 1 – 7’!C4=”Kim McLane”, “WC Pos 1”,IF(‘Jan 1 – 7’!C4=””, IF(‘Jan 1 – 7’!C6=”Kim McLane”, “WC Pos 2”,IF(‘Jan 1 – 7’!C6=””, (‘Jan 1 – 7’!C8=”Kim McLane”, “WC Pos 3”,IF(‘Jan 1 – 7’!C8=””,)))
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
1st, I think you left out an IF...
=IF(‘Jan 1 – 7’!C4=”Kim McLane”, “WC Pos 1”,IF(‘Jan 1 – 7’!C4=””
, IF(‘Jan 1 – 7’!C6=”Kim McLane”, “WC Pos 2”,IF(‘Jan 1 – 7’!C6=””
,IF (‘Jan 1 – 7’!C8=”Kim McLane”, “WC Pos 3”,IF(‘Jan 1 – 7’!C8=””,)))

2nd, you could probably do this with a MATCH, something like ...
="WC Pos "&match(”Kim McLane”,‘Jan 1 – 7’!C4:C8,0)
 
Upvote 0

Forum statistics

Threads
1,214,605
Messages
6,120,476
Members
448,967
Latest member
visheshkotha

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