Tristram_ZX81
New Member
- Joined
- Jun 22, 2021
- Messages
- 45
- Office Version
- 365
- Platform
- Windows
Hello. I'm trying to get excel in Office 365 to count a freelancer rate depending on who it is and what time they started. So in the example below, you'd want it to say 100 if Matt started at 19:00, but 80 if he started at 10:00. However as it stands it always counts the lower, pre 15:00 figure for everyone. Any ideas?
=IF(AND(A613="Matt",E613>"14:59"),100,
IF(AND(A613="Matt",E613<"14:59"),80,
IF(AND(A613="Alex",E613>"14:59"),120,
IF(AND(A613="Alex",E613<"14:59"),100,
IF(AND(A613="Harry",E613>"14:59"),200,
IF(AND(A613="Harry",E613<"14:59"),150,
))))))
=IF(AND(A613="Matt",E613>"14:59"),100,
IF(AND(A613="Matt",E613<"14:59"),80,
IF(AND(A613="Alex",E613>"14:59"),120,
IF(AND(A613="Alex",E613<"14:59"),100,
IF(AND(A613="Harry",E613>"14:59"),200,
IF(AND(A613="Harry",E613<"14:59"),150,
))))))