Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Formula Simplification Please ...

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula Simplification Please ...

Try this using IF() and CHOOSE().. Sorry i could not test this..

=IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5)))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Formula Simplification Please ...

Jacob ... (Hi)

This formula worked fine until D12 value got small ... then it returned the
#VALUE error ... ???

Thanks ... I am always learning ... Kha

"Jacob Skaria" wrote:

Try this using IF() and CHOOSE().. Sorry i could not test this..

=IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5)))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Formula Simplification Please ...

Jacob ... (Hi)

Sorry ... it was when the C12 Value (not D12) got small ... <1.00

Thanks ... Kha

"Jacob Skaria" wrote:

Try this using IF() and CHOOSE().. Sorry i could not test this..

=IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5)))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula Simplification Please ...

Sorry have you specified a condition for values <1 for c12

=IF(C12<1,"",IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5))))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Jacob ... (Hi)

Sorry ... it was when the C12 Value (not D12) got small ... <1.00

Thanks ... Kha

"Jacob Skaria" wrote:

Try this using IF() and CHOOSE().. Sorry i could not test this..

=IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5)))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Formula Simplification Please ...

Try this:

=IF(OR(C12<1,C123),"",D12/CHOOSE(C12,8,16,21.5)*IF(F3="Y",5/7,1))



"Ken" wrote:

Jacob ... (Hi)

Sorry ... it was when the C12 Value (not D12) got small ... <1.00

Thanks ... Kha

"Jacob Skaria" wrote:

Try this using IF() and CHOOSE().. Sorry i could not test this..

=IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5)))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha

  #7   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Formula Simplification Please ...

Jacob ... (Good morning)

Oversight on my part ... In my original post I requested options for
conditions 1-2-3 ... I forgot I had some default entries in Col C set @ .01
.... so when I copied your formula down it failed @ the point in Range where
Col C had an entry <1.00 ... I changed my default from .01 to 1 ... So now my
options in Col C are truly 1-2-3 (as they should be).

Above said ... Your original formula now works fine & is a great
simplification ...

Every day is a learning experience ... Just some days I forget more than I
learn.

Thanks ... Kha

"Jacob Skaria" wrote:

Sorry have you specified a condition for values <1 for c12

=IF(C12<1,"",IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5))))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Jacob ... (Hi)

Sorry ... it was when the C12 Value (not D12) got small ... <1.00

Thanks ... Kha

"Jacob Skaria" wrote:

Try this using IF() and CHOOSE().. Sorry i could not test this..

=IF(F3="Y",D12/CHOOSE(C12,8,16,21.5)*(5/7),IF(F3="N",D12/CHOOSE(C12,8,16,21.5)))

If this post helps click Yes
---------------
Jacob Skaria


"Ken" wrote:

Excel2003 ... The following formula works, but I am thinking it can be
simplified by those intimate with Excel ...

=IF(AND($F$3="Y",C12=1),(D12/8)*(5/7),IF(AND($F$3="Y",C12=2),(D12/16)*(5/7),IF(AND($F$3="Y",C12=3),(D12/21.5)*(5/7),IF(AND($F$3="N",C12=1),D12/8,IF(AND($F$3="N",C12=2),D12/16,IF(AND($F$3="N",C12=3),D12/21.5,""))))))

Thanks ... Kha

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
Simplification of Matrix Tuppie11 Excel Discussion (Misc queries) 5 October 23rd 08 02:48 PM
Simplification of IF Statement NoodNutt Excel Worksheet Functions 5 July 25th 08 12:11 PM
Calc Speed & Formula simplification Ken Excel Discussion (Misc queries) 2 October 22nd 07 01:15 PM
Simplification help Mike Smith NC Excel Worksheet Functions 3 July 12th 06 06:28 PM
formula simplification Todd Excel Worksheet Functions 2 October 28th 04 01:49 AM


All times are GMT +1. The time now is 11:00 PM.

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"