Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
REK REK is offline
external usenet poster
 
Posts: 1
Default Creating "IF" arguments

I can't seem to firgure out how to set up the following argument in an Excell
spreadsheet!

IF cell B-6 has the value of "C" than cell J-6 = .8*H-6 and cell I-6 = .2*H-6

IF cell B-6 has the value of "P" than cell J-6 =SUM(H-6-E-6)

The part I don't understand is how to incorporate the "IF" condition.

Thanks to Anyone!

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 42
Default Creating "IF" arguments

If the only two options for B6 are "C" and "P", you can use:
J6 formula =IF(B6="C",0.8*H6,SUM(H6,E6))
I6 formula =IF(B6="C",0.2*H6)

If you want the value to be something else (0 in this case) if B6 is not "C"
or "P", use this:

J6 formula =IF(B6="C",0.8*H6,IF(B6="P",SUM(H6,E6),0))




"REK" wrote:

I can't seem to firgure out how to set up the following argument in an Excell
spreadsheet!

IF cell B-6 has the value of "C" than cell J-6 = .8*H-6 and cell I-6 = .2*H-6

IF cell B-6 has the value of "P" than cell J-6 =SUM(H-6-E-6)

The part I don't understand is how to incorporate the "IF" condition.

Thanks to Anyone!


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 427
Default Creating "IF" arguments

Dan has given the answer.

A point when writing/refereing to cells it's easier to just write J6, H6,
E6 etc rather than J-6 H-6 E-6

Certainly makes H-6-E-6 less confusing to when it appears as H6-E6

:)

Steve


On Sat, 19 Aug 2006 02:50:26 +0100, REK <u25476@uwe wrote:

I can't seem to firgure out how to set up the following argument in an
Excell
spreadsheet!

IF cell B-6 has the value of "C" than cell J-6 = .8*H-6 and cell I-6 =
.2*H-6

IF cell B-6 has the value of "P" than cell J-6 =SUM(H-6-E-6)

The part I don't understand is how to incorporate the "IF" condition.

Thanks to Anyone!

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
Creating username and passwords shannyshanhan Excel Worksheet Functions 3 August 7th 06 10:24 AM
2 way Vlookup - Creating array arguments from columns Hari Excel Discussion (Misc queries) 1 May 11th 06 01:18 PM
Formulae containing more than 7 arguments? Zakynthos Excel Worksheet Functions 4 April 4th 06 04:32 PM
multiple "if" arguments Bob Excel Discussion (Misc queries) 9 January 2nd 06 07:08 PM
creating function (vba) with range arguments Fredouille Excel Worksheet Functions 2 September 12th 05 11:01 AM


All times are GMT +1. The time now is 07:07 AM.

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

About Us

"It's about Microsoft Excel"