Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi there,
I'm sure this will be really easy for you all. I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=IF(LEFT(C2,2)="US",F4*H3,"") Hope this helps. Pete On Dec 5, 3:38*pm, Jamie wrote: Hi there, I'm sure this will be really easy for you all. *I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe
=IF(LEFT(C2,2)="US",F4*H3,"") Mike "Jamie" wrote: Hi there, I'm sure this will be really easy for you all. I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Have you looked in the help index for
IF -- Don Guillett Microsoft MVP Excel SalesAid Software "Jamie" wrote in message ... Hi there, I'm sure this will be really easy for you all. I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(LEFT(C2,2)="US",F4*H3,"")
-- Gary''s Student - gsnu200817 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Mike,
Thanks for this, quick question, why the 2, in (c2,2)? "Mike H" wrote: Maybe =IF(LEFT(C2,2)="US",F4*H3,"") Mike "Jamie" wrote: Hi there, I'm sure this will be really easy for you all. I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You want to see if the first 2 letters in C2 are equal to "US" - not
bothered if there are more letters, eg "US California". Hope this helps. Pete On Dec 5, 4:28*pm, Jamie wrote: Mike, Thanks for this, quick question, why the 2, in (c2,2)? "Mike H" wrote: Maybe =IF(LEFT(C2,2)="US",F4*H3,"") Mike "Jamie" wrote: Hi there, I'm sure this will be really easy for you all. *I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie- Hide quoted text - - Show quoted text - |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Have you looked in the help index for
LEFT -- Don Guillett Microsoft MVP Excel SalesAid Software "Jamie" wrote in message ... Mike, Thanks for this, quick question, why the 2, in (c2,2)? "Mike H" wrote: Maybe =IF(LEFT(C2,2)="US",F4*H3,"") Mike "Jamie" wrote: Hi there, I'm sure this will be really easy for you all. I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It does, thanks Pete!
"Pete_UK" wrote: You want to see if the first 2 letters in C2 are equal to "US" - not bothered if there are more letters, eg "US California". Hope this helps. Pete On Dec 5, 4:28 pm, Jamie wrote: Mike, Thanks for this, quick question, why the 2, in (c2,2)? "Mike H" wrote: Maybe =IF(LEFT(C2,2)="US",F4*H3,"") Mike "Jamie" wrote: Hi there, I'm sure this will be really easy for you all. I want to multiply, for example, the conents of 2 cells, when a third cell has the initials US in it. I.e. if the freight is going to anywhere in the US(mentioned in cell c2), it multiplies kilos (cell f4) by a per kilo rate (cell h3). if c2 does not start with US, it leaves the cell blank. Thanks in advance for your help. Jamie- Hide quoted text - - Show quoted text - |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome, Jamie - thanks for feeding back.
Pete On Dec 5, 5:22*pm, Jamie wrote: It does, thanks Pete! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I'm sure it must be easy | Excel Discussion (Misc queries) | |||
Easy one... | Excel Worksheet Functions | |||
This should be easy: | Excel Discussion (Misc queries) | |||
This should be easy... | Excel Worksheet Functions | |||
new user with easy question? not easy for me | New Users to Excel |