Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default complex IF statement

Hello.

In cell $E$70 I have a data validation drop down list which allows the user
to select a percentage between 0% and 10%. I am trying to get cell $D$70 to
read "Product Subtotal at 1% discount" when cell $E$70 is 1%, "Product
Subtotal at 2% discount" when cell $E$70 is 2%" etc.

I tried using an IF statement, however as you know, it caps out at 7 IF
arguments. I need 10 arguments and then just "Product Subtotal" when 0% is
selected. Does anyone know how to get around the 7 argument problem?

Thanks in advance
--
Cathy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default complex IF statement

You can use concatenation with only one IF like this:
="Product Subtotal"&IF($E$700," at "&$E$70*100&"% discount","")


"cathy" wrote in message
...
Hello.

In cell $E$70 I have a data validation drop down list which allows the
user
to select a percentage between 0% and 10%. I am trying to get cell $D$70
to
read "Product Subtotal at 1% discount" when cell $E$70 is 1%, "Product
Subtotal at 2% discount" when cell $E$70 is 2%" etc.

I tried using an IF statement, however as you know, it caps out at 7 IF
arguments. I need 10 arguments and then just "Product Subtotal" when 0%
is
selected. Does anyone know how to get around the 7 argument problem?

Thanks in advance
--
Cathy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default complex IF statement

Both answers were VERY helpful!!! I wound up using this one. It worked
GREAT!!! Thanks so much
--
Cathy


"Alain Vaillancourt" wrote:

You can use concatenation with only one IF like this:
="Product Subtotal"&IF($E$700," at "&$E$70*100&"% discount","")


"cathy" wrote in message
...
Hello.

In cell $E$70 I have a data validation drop down list which allows the
user
to select a percentage between 0% and 10%. I am trying to get cell $D$70
to
read "Product Subtotal at 1% discount" when cell $E$70 is 1%, "Product
Subtotal at 2% discount" when cell $E$70 is 2%" etc.

I tried using an IF statement, however as you know, it caps out at 7 IF
arguments. I need 10 arguments and then just "Product Subtotal" when 0%
is
selected. Does anyone know how to get around the 7 argument problem?

Thanks in advance
--
Cathy


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default complex IF statement

Using the TEXT function would work great too using it that way:
="Product Subtotal"&IF($E$700," at "&TEXT($E$70,"0%")&" discount","")


"cathy" wrote in message
...
Both answers were VERY helpful!!! I wound up using this one. It worked
GREAT!!! Thanks so much
--
Cathy


"Alain Vaillancourt" wrote:

You can use concatenation with only one IF like this:
="Product Subtotal"&IF($E$700," at "&$E$70*100&"% discount","")


"cathy" wrote in message
...
Hello.

In cell $E$70 I have a data validation drop down list which allows the
user
to select a percentage between 0% and 10%. I am trying to get cell
$D$70
to
read "Product Subtotal at 1% discount" when cell $E$70 is 1%, "Product
Subtotal at 2% discount" when cell $E$70 is 2%" etc.

I tried using an IF statement, however as you know, it caps out at 7 IF
arguments. I need 10 arguments and then just "Product Subtotal" when
0%
is
selected. Does anyone know how to get around the 7 argument problem?

Thanks in advance
--
Cathy


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default complex IF statement

One way:

D70: ="Product Subtotal at " & TEXT($E$70,"0%") & " discount"


In article ,
cathy wrote:

Hello.

In cell $E$70 I have a data validation drop down list which allows the user
to select a percentage between 0% and 10%. I am trying to get cell $D$70 to
read "Product Subtotal at 1% discount" when cell $E$70 is 1%, "Product
Subtotal at 2% discount" when cell $E$70 is 2%" etc.

I tried using an IF statement, however as you know, it caps out at 7 IF
arguments. I need 10 arguments and then just "Product Subtotal" when 0% is
selected. Does anyone know how to get around the 7 argument problem?

Thanks in advance



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default complex IF statement

That's Great. Thanks so much
--
Cathy


"JE McGimpsey" wrote:

One way:

D70: ="Product Subtotal at " & TEXT($E$70,"0%") & " discount"


In article ,
cathy wrote:

Hello.

In cell $E$70 I have a data validation drop down list which allows the user
to select a percentage between 0% and 10%. I am trying to get cell $D$70 to
read "Product Subtotal at 1% discount" when cell $E$70 is 1%, "Product
Subtotal at 2% discount" when cell $E$70 is 2%" etc.

I tried using an IF statement, however as you know, it caps out at 7 IF
arguments. I need 10 arguments and then just "Product Subtotal" when 0% is
selected. Does anyone know how to get around the 7 argument problem?

Thanks in advance


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
Complex IF Statement Jonni Excel Discussion (Misc queries) 7 June 26th 09 04:09 PM
Complex IF THEN statement Greg S Excel Worksheet Functions 5 December 8th 08 11:40 PM
Complex If/And Statement jonssmaster Excel Worksheet Functions 8 December 1st 08 07:27 PM
Help with complex If statement GHawkins[_2_] Excel Worksheet Functions 2 September 6th 07 10:16 PM
complex IF(OR(...AND())) statement Dave F Excel Discussion (Misc queries) 2 October 4th 06 06:24 PM


All times are GMT +1. The time now is 04:31 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"