Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default This will be really easy, I'm sure

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default This will be really easy, I'm sure

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default This will be really easy, I'm sure

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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default This will be really easy, I'm sure

=IF(LEFT(C2,2)="US",F4*H3,"")
--
Gary''s Student - gsnu200817


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default This will be really easy, I'm sure

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default This will be really easy, I'm sure

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 -


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default This will be really easy, I'm sure

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default This will be really easy, I'm sure

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm sure it must be easy BrianH Excel Discussion (Misc queries) 5 October 4th 07 11:31 AM
Easy one... NWO Excel Worksheet Functions 7 September 5th 07 04:39 PM
This should be easy: Jaytee Excel Discussion (Misc queries) 3 October 1st 06 03:56 PM
This should be easy... Jerry Excel Worksheet Functions 9 December 6th 05 04:17 PM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM


All times are GMT +1. The time now is 01:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"