Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Fx If.....Question from Super Newbie...

Hi,

First want to say thanks to those who help me with previous questions.. that
helps me a lot.... Thank You!!!!

Here are another problem I am having difficult to solve... yup.. I am super
newbie...

Okay here are my problem...


B23-- can have either "on" or "off"


S1, S2, S3, S4, S5, S6 --- these cels can have either "yes" or "no"


In cel A10:

-----If B23 have "on" then check (Except S4)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S5 and if yes then show "pen"
--------------S6 and if yes then show "snoopy"
-------------- nothing is yes then show "neither"

-----If B23 have "off" then check (Except S6)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S4 and if yes then show "chuck"
--------------S5 and if yes then show "pen"
-------------- nothing is yes then show "neither"


Any Idea....

Thank you Everyone....!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default Fx If.....Question from Super Newbie...

Hi

=IF(B23="on",IF(S1="yes","apple",IF(S2="yes","boat ",IF(S3="yes","cup",IF(S5="yes","pen",IF(S6="yes", "snoopy",""))))),IF(S1="yes","apple",IF(S2="yes"," boat",IF(S3="yes","cup",IF(S4="yes","chuck",IF(S5= "yes","pen",""))))))



--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Astroboy" wrote:

Hi,

First want to say thanks to those who help me with previous questions.. that
helps me a lot.... Thank You!!!!

Here are another problem I am having difficult to solve... yup.. I am super
newbie...

Okay here are my problem...


B23-- can have either "on" or "off"


S1, S2, S3, S4, S5, S6 --- these cels can have either "yes" or "no"


In cel A10:

-----If B23 have "on" then check (Except S4)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S5 and if yes then show "pen"
--------------S6 and if yes then show "snoopy"
-------------- nothing is yes then show "neither"

-----If B23 have "off" then check (Except S6)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S4 and if yes then show "chuck"
--------------S5 and if yes then show "pen"
-------------- nothing is yes then show "neither"


Any Idea....

Thank you Everyone....!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default Fx If.....Question from Super Newbie...

A bit shorter:

=IF(S1="yes","apple",IF(S2="yes","boat",IF(S3="yes ","cup",IF(B23="on",IF(S5="yes","pen",IF(S6="yes", "snoopy","")),IF(S4="yes","chuck",IF(S5="yes","pen ",""))))))


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Wigi" wrote:

Hi

=IF(B23="on",IF(S1="yes","apple",IF(S2="yes","boat ",IF(S3="yes","cup",IF(S5="yes","pen",IF(S6="yes", "snoopy",""))))),IF(S1="yes","apple",IF(S2="yes"," boat",IF(S3="yes","cup",IF(S4="yes","chuck",IF(S5= "yes","pen",""))))))



--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Astroboy" wrote:

Hi,

First want to say thanks to those who help me with previous questions.. that
helps me a lot.... Thank You!!!!

Here are another problem I am having difficult to solve... yup.. I am super
newbie...

Okay here are my problem...


B23-- can have either "on" or "off"


S1, S2, S3, S4, S5, S6 --- these cels can have either "yes" or "no"


In cel A10:

-----If B23 have "on" then check (Except S4)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S5 and if yes then show "pen"
--------------S6 and if yes then show "snoopy"
-------------- nothing is yes then show "neither"

-----If B23 have "off" then check (Except S6)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S4 and if yes then show "chuck"
--------------S5 and if yes then show "pen"
-------------- nothing is yes then show "neither"


Any Idea....

Thank you Everyone....!!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Fx If.....Question from Super Newbie...

Hi,

1. Create the following table in some blank area of your spreadsheet:

no apple apple
no boat boat
no cup cup
Yes chuck
no pen pen
no snoopy
Yes neither neither

2. In my example the range was D1:F7.
3. In cell D1 enter =S1
4. Copy this formula down to D6. Leave Yes in D7.

In A10 enter the following formula:

=VLOOKUP("yes",D1:F7,IF(B23="on",2,3),FALSE)

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Astroboy" wrote:

Hi,

First want to say thanks to those who help me with previous questions.. that
helps me a lot.... Thank You!!!!

Here are another problem I am having difficult to solve... yup.. I am super
newbie...

Okay here are my problem...


B23-- can have either "on" or "off"


S1, S2, S3, S4, S5, S6 --- these cels can have either "yes" or "no"


In cel A10:

-----If B23 have "on" then check (Except S4)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S5 and if yes then show "pen"
--------------S6 and if yes then show "snoopy"
-------------- nothing is yes then show "neither"

-----If B23 have "off" then check (Except S6)
--------------S1 and if yes then show "apple"
--------------S2 and if yes then show "boat"
--------------S3 and if yes then show "cup"
--------------S4 and if yes then show "chuck"
--------------S5 and if yes then show "pen"
-------------- nothing is yes then show "neither"


Any Idea....

Thank you Everyone....!!!

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
Newbie Question... Benjamin M New Users to Excel 6 May 27th 08 04:45 PM
Newbie question Ekaterina Charts and Charting in Excel 2 January 30th 07 06:59 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Newbie question Doh New Users to Excel 5 December 16th 04 09:31 PM


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