Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Excel Question please (https://www.cableforum.uk/board/showthread.php?t=33710827)

Mike 15-02-2022 12:23

Excel Question please
 
1 Attachment(s)
Hi all

I have an excel question :dozey:

I would like to input 2 figures : Target Cost and Actual costs in column A and B.

Based on these

If the actual cost is lower I would like to show the difference in column C and nothing in column D

If the actual cost is more I would like to show the difference in column D and nothing in column C.

See example attached

Would be grateful if anyone could please confirm the formulas I need to enter in columns C and D

Thanks you very much for any advice and your time

Regards

Mike

MaccLad 15-02-2022 18:27

Re: Excel Question please
 
C1
=if(a1>b1,a1-b1,"")
copy/drag that value down for c2, c3, etc


D1
=if(b1>a1,b1-a1,"")
copy/drag that down for d2, d3, etc

Mike 21-02-2022 11:42

Re: Excel Question please
 
Quote:

Originally Posted by MaccLad (Post 36113443)
C1
=if(a1>b1,a1-b1,"")
copy/drag that value down for c2, c3, etc


D1
=if(b1>a1,b1-a1,"")
copy/drag that down for d2, d3, etc

Many thanks


All times are GMT +1. The time now is 16:45.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum