Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 928

Nested IF statements with AND or OR

$
0
0

I have a schedule that calculates total hours worked for the week and also calculates the number of employees present at opening and at closing. The schedule is set up with nested IF statements to ignore the words "Off", "Vac", or "Flex". Managers sometimes work split days so there are two rows for the managers and the schedule calculates total hours for both rows. All works fine except I cannot figure out how to return a "1" for when either manager row has the manager present for opening or closing. Cell F41 should be returning a "1" because the manager is present for the 10:00 AM opening. I presume the problem is Cell F38, where I have generated a "0" to replace the word "Flex". I can get F41 to return a correct value with "=IF(OR(D88<=0.416666666666667,D89<=0.416666666666667),1,0)" but the result fails with "Flex" entered in D88. How can I get this cell to ignore the entered words and still return accurate opening and closing information? If it matters, I am using Excel 2007.TIA Carl

Google Drive Link to File: https://docs.google.com/spreadsheets/d/1DBthdGpjVJqzBp5OyfpCyjfmaEIP6UPk/edit?usp=sharing&ouid=113960402099335765622&rtpof=true&sd=true


Viewing all articles
Browse latest Browse all 928

Trending Articles