Enter two values solve for third

srcera

Board Regular
Joined
May 22, 2006
Messages
95
Good Day,

I'm trying to design a timecard worksheet which will allow me to enter in two of the following pieces of information and then automatically solve for the remaining value.

Shift start
Time worked
Shift end

Anyway I could do this without a macro?

Thanks!
 

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

SteveO59L

Well-known Member
Joined
Apr 21, 2004
Messages
7,896
Not really, if you are entering values directly into a cell, you would be overwriting any formulae
 

Gerald Higgins

Well-known Member
Joined
Mar 26, 2007
Messages
9,115
You could do it indirectly, without VBA.

For example, let's say you input the start time, hours worked, and end time into A1, B1 and C1.

Use helper cells to calculate the required values.

For example in A2
Code:
=if(A1="",+C1-B1,A1)
and so on for B2 and C2.
 

Watch MrExcel Video

Forum statistics

Threads
1,099,492
Messages
5,468,927
Members
406,620
Latest member
Gitani123

This Week's Hot Topics

Top