![]() |
logical (if a1=specific word, can c1 = value entered in a2?)
I am trying to make a payroll sheet so that if someone enters the word "Stat"
into field a1, and then manually enters the number of hours worked into a2, then c1 automatically displays the same value that a2 displays. (I have 2 different columns at the end, one for regular hours and one for stat hours, and I need them to display all of the regular hours into one field and all of the stat hours into the column beside it.) |
logical (if a1=specific word, can c1 = value entered in a2?)
=IF(C1="Stat",A2,"")
"mel" wrote: I am trying to make a payroll sheet so that if someone enters the word "Stat" into field a1, and then manually enters the number of hours worked into a2, then c1 automatically displays the same value that a2 displays. (I have 2 different columns at the end, one for regular hours and one for stat hours, and I need them to display all of the regular hours into one field and all of the stat hours into the column beside it.) |
logical (if a1=specific word, can c1 = value entered in a2?)
In C1 you want:
=if(a1="stat",a2,"") Regards, Fred "mel" wrote in message ... I am trying to make a payroll sheet so that if someone enters the word "Stat" into field a1, and then manually enters the number of hours worked into a2, then c1 automatically displays the same value that a2 displays. (I have 2 different columns at the end, one for regular hours and one for stat hours, and I need them to display all of the regular hours into one field and all of the stat hours into the column beside it.) |
All times are GMT +1. The time now is 09:55 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com