View Single Post
 
Old 12-02-2015, 11:11 AM
shg shg is offline Windows 7 64bit Office 2010 32bit
Advanced Beginner
 
Join Date: Oct 2015
Posts: 55
shg is on a distinguished road
Default

Welcome to the board.

That would require VBA.

You could instead use columns A & B as input, and C & D to calculate:

Code:
   --A-- -B-- --C-- --D--
1   Hours Days Hours Days
2      16         16     2
3            3    24     3
4       1    1 Error Error
C2 and down: =CHOOSE(ISNUMBER(A2) + 2 * ISNUMBER(B2) + 1, "", A2, 8 * B2, "Error")

D2 and down: =CHOOSE(ISNUMBER(A2) + 2 * ISNUMBER(B2) + 1, "", A2 / 8, B2, "Error")
Reply With Quote