Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello from Steved
I have a value in D8 and E8 I would like to combine the both If I have only D8 it works fine but when I added E8 as below it does not work. =SUMIF($B$43,"Contract Kilometres(Manuals)",'From Charters'!D8:E8) Thankyou |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm not clear on what you're trying to do. I've only used sumif when the
range in which I'm searching (the first argument) is structured the same as the range which I'm adding (the third). But you've got one cell in the first argument and two in the last. If you just want to return the sum of the two cells conditionally on the value in b43, you can just use if: =if($B$43="Contract Kilometres(Manuals)",sum('From Charters'!D8:E8),0). "Steved" wrote: Hello from Steved I have a value in D8 and E8 I would like to combine the both If I have only D8 it works fine but when I added E8 as below it does not work. =SUMIF($B$43,"Contract Kilometres(Manuals)",'From Charters'!D8:E8) Thankyou |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello bpeltzer from Steved
Thanks The formula you gave me is exactly what I required. "bpeltzer" wrote: I'm not clear on what you're trying to do. I've only used sumif when the range in which I'm searching (the first argument) is structured the same as the range which I'm adding (the third). But you've got one cell in the first argument and two in the last. If you just want to return the sum of the two cells conditionally on the value in b43, you can just use if: =if($B$43="Contract Kilometres(Manuals)",sum('From Charters'!D8:E8),0). "Steved" wrote: Hello from Steved I have a value in D8 and E8 I would like to combine the both If I have only D8 it works fine but when I added E8 as below it does not work. =SUMIF($B$43,"Contract Kilometres(Manuals)",'From Charters'!D8:E8) Thankyou |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date & Time | New Users to Excel | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions | |||
Find a Function to use accross different worksheets | Excel Worksheet Functions |