Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to get one cell to look at 2 others, determine which one has a
value, and use that value. for example, d3 has no value, d4 has a value of 2.333. how do i get d5 to look at the 2 cells and give me 2.333. Also, sometimes d3 will have value and d4 won't. only one will have a value at any given time. hope that is not too confusing. thanks for the help. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sounds like a simple If statement. Type the following into the cell where
you want the value to appear: =if(d30,d3,d4) Assuming that d4 will always have a value if D3 doesn't. Good luck! "The-Jayhawk_fan" wrote: I am trying to get one cell to look at 2 others, determine which one has a value, and use that value. for example, d3 has no value, d4 has a value of 2.333. how do i get d5 to look at the 2 cells and give me 2.333. Also, sometimes d3 will have value and d4 won't. only one will have a value at any given time. hope that is not too confusing. thanks for the help. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(D3<0,D3,D4)
Regards, Alan. "The-Jayhawk_fan" wrote in message ... I am trying to get one cell to look at 2 others, determine which one has a value, and use that value. for example, d3 has no value, d4 has a value of 2.333. how do i get d5 to look at the 2 cells and give me 2.333. Also, sometimes d3 will have value and d4 won't. only one will have a value at any given time. hope that is not too confusing. thanks for the help. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Alan's is better as it allows for negative #s.
Along that line, if you want to allow for 0 to be a valid answer go with: =if(d3<"",d3,d4) "The-Jayhawk_fan" wrote: I am trying to get one cell to look at 2 others, determine which one has a value, and use that value. for example, d3 has no value, d4 has a value of 2.333. how do i get d5 to look at the 2 cells and give me 2.333. Also, sometimes d3 will have value and d4 won't. only one will have a value at any given time. hope that is not too confusing. thanks for the help. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=max(cell1,cell2)
,allows for your value to be either positive, nil or negative. MIN function would also work. "The-Jayhawk_fan" wrote: I am trying to get one cell to look at 2 others, determine which one has a value, and use that value. for example, d3 has no value, d4 has a value of 2.333. how do i get d5 to look at the 2 cells and give me 2.333. Also, sometimes d3 will have value and d4 won't. only one will have a value at any given time. hope that is not too confusing. thanks for the help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
checking that cells have a value before the workbook will close | Excel Worksheet Functions | |||
Condensing a list/range with blank cells to a new list/range without blanks | Excel Worksheet Functions | |||
hilght cells at a give day | Excel Worksheet Functions | |||
monitoring a changing range of cells | Excel Worksheet Functions | |||
calculate which cells in column A will give me the total of column | Excel Worksheet Functions |