Prev: Excel 2003 make 1 date cell automatically change another date cell
Next: How do i set up a concecutive numbers in Microsoft excel sheet
From: mel on 21 Apr 2010 21:41 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.)
From: Matt Geare on 21 Apr 2010 22:06 =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.)
From: Fred Smith on 21 Apr 2010 22:29
In C1 you want: =if(a1="stat",a2,"") Regards, Fred "mel" <mel(a)discussions.microsoft.com> wrote in message news:91B4EC1D-3421-4D3E-BD0D-922A67ED5669(a)microsoft.com... >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.) |