![]() |
Formula to use one or the other cell amount
I want a cell to show the amount of one of two other cells. Of the two other
cells, only one will have an amount at any time. for cell D10, if D5 has an amount, use that amount in D10. If D5 does not have an amount, use the amount in D7 for D10. |
Formula to use one or the other cell amount
One way
In D10: =IF(COUNT(D5,D7)=0,"",SUM(D5,D7)) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Spiritdancer" wrote: I want a cell to show the amount of one of two other cells. Of the two other cells, only one will have an amount at any time. for cell D10, if D5 has an amount, use that amount in D10. If D5 does not have an amount, use the amount in D7 for D10. |
Formula to use one or the other cell amount
Put this formula in D10:
=IF(OR(D5="",D5=0),D10,D5) Hope this helps. Pete On Nov 16, 9:09 pm, Spiritdancer wrote: I want a cell to show the amount of one of two other cells. Of the two other cells, only one will have an amount at any time. for cell D10, if D5 has an amount, use that amount in D10. If D5 does not have an amount, use the amount in D7 for D10. |
Formula to use one or the other cell amount
=IF(D5,D5,D7)
"Spiritdancer" wrote: I want a cell to show the amount of one of two other cells. Of the two other cells, only one will have an amount at any time. for cell D10, if D5 has an amount, use that amount in D10. If D5 does not have an amount, use the amount in D7 for D10. |
Formula to use one or the other cell amount
Sorry, this should be:
=IF(OR(D5="",D5=0),D7,D5) Pete On Nov 16, 9:24 pm, Pete_UK wrote: Put this formula in D10: =IF(OR(D5="",D5=0),D10,D5) Hope this helps. Pete On Nov 16, 9:09 pm, Spiritdancer wrote: I want a cell to show the amount of one of two other cells. Of the two other cells, only one will have an amount at any time. for cell D10, if D5 has an amount, use that amount in D10. If D5 does not have an amount, use the amount in D7 for D10.- Hide quoted text - - Show quoted text - |
All times are GMT +1. The time now is 07:42 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com