Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Need a shorter # of Levels

I have Excel 2000 so these problems are more than 7 levels is there a way to
make them shorter. I did make a vlookup for them but if I have to move the
cell then I have to re-reference that vlookup so I figured a formula would be
easier if it is possible. Thank you for any help that you can provide.

=IF(E4="",0,IF((E4="F"),8,IF((E4="D"),4,IF((E4="T" ),2,IF((E4="S"),1,IF(
(E4="M"),0,IF((E4="L"),-1,IF((E4="H"),-2,IF((E4="G"),-4,IF((E4="C"),-8,"ERR"))
))))))))

=IF(E4="",0,IF((E4="F"),8,IF((E4="D"),4,IF((E4="T" ),2,IF((E4="S"),1,IF(
(E4="M"),0,IF((E4="L"),1,IF((E4="H"),2,IF((E4="G") ,4,IF((E4="C"),8,"ERR"))))))
))))

--
Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Need a shorter # of Levels

What was wrong with all the responses to your previous posts? There were
several suggested improvements shown.

Regards,
Fred

"Cerealkiller via OfficeKB.com" <u59737@uwe wrote in message
news:a77766d2786c2@uwe...
I have Excel 2000 so these problems are more than 7 levels is there a way
to
make them shorter. I did make a vlookup for them but if I have to move the
cell then I have to re-reference that vlookup so I figured a formula would
be
easier if it is possible. Thank you for any help that you can provide.

=IF(E4="",0,IF((E4="F"),8,IF((E4="D"),4,IF((E4="T" ),2,IF((E4="S"),1,IF(
(E4="M"),0,IF((E4="L"),-1,IF((E4="H"),-2,IF((E4="G"),-4,IF((E4="C"),-8,"ERR"))
))))))))

=IF(E4="",0,IF((E4="F"),8,IF((E4="D"),4,IF((E4="T" ),2,IF((E4="S"),1,IF(
(E4="M"),0,IF((E4="L"),1,IF((E4="H"),2,IF((E4="G") ,4,IF((E4="C"),8,"ERR"))))))
))))

--
Message posted via http://www.officekb.com


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Need a shorter # of Levels

These are differnt statements. These have mutiable numbers that they
reference and not two cells. So maybe the other would work but I am not sure
on how to make them work.

Fred Smith wrote:
What was wrong with all the responses to your previous posts? There were
several suggested improvements shown.

Regards,
Fred

I have Excel 2000 so these problems are more than 7 levels is there a way
to

[quoted text clipped - 10 lines]
(E4="M"),0,IF((E4="L"),1,IF((E4="H"),2,IF((E4="G") ,4,IF((E4="C"),8,"ERR"))))))
))))


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/201005/1

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Need a shorter # of Levels

Apperantly I just recived this message from Ron. So it looks like a vlookup
is the only way but thank you for your response.

Vlookup will be a better solution for this.

Just reference the table as an absolute reference, or NAME it.
--ron



Fred Smith wrote:
What was wrong with all the responses to your previous posts? There were
several suggested improvements shown.

Regards,
Fred

I have Excel 2000 so these problems are more than 7 levels is there a way
to

[quoted text clipped - 10 lines]
(E4="M"),0,IF((E4="L"),1,IF((E4="H"),2,IF((E4="G") ,4,IF((E4="C"),8,"ERR"))))))
))))


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/201005/1

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 690
Default Need a shorter # of Levels

...IF((E4="G"),4,IF((E4="C"),8

Hi. If A1 is one of your 9 letters, a program I have gave the following
as one possible solution. Unfortunately, it is flagged to work in
OpenOffice, and Not Excel due to Excel's Mod bug.

=MOD(537465926027,CODE(A1)*2-123)

= = = = =
I'm not going to hold my breath thinking that Microsoft will finally fix
this problem in the upcoming release.
= = = =
Dana DeLouis



On 5/3/2010 5:00 PM, Cerealkiller via OfficeKB.com wrote:
Apperantly I just recived this message from Ron. So it looks like a vlookup
is the only way but thank you for your response.

Vlookup will be a better solution for this.

Just reference the table as an absolute reference, or NAME it.
--ron



Fred Smith wrote:
What was wrong with all the responses to your previous posts? There were
several suggested improvements shown.

Regards,
Fred

I have Excel 2000 so these problems are more than 7 levels is there a way
to

[quoted text clipped - 10 lines]
(E4="M"),0,IF((E4="L"),1,IF((E4="H"),2,IF((E4="G") ,4,IF((E4="C"),8,"ERR"))))))
))))



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 89
Default Need a shorter # of Levels

Hi, just a tip: tho' not so applicable for this situation (as you've said,
Vlookup will do it) often splitting a complex multi-level formula between
"tests" in hidden columns is simpler. Built-in "spare" hidden columns are
also very useful later for expanding a spreadsheet, especially if you have
macros that work along rows collecting data.
Cheers

"Cerealkiller via OfficeKB.com" wrote:

I have Excel 2000 so these problems are more than 7 levels is there a way to
make them shorter. I did make a vlookup for them but if I have to move the
cell then I have to re-reference that vlookup so I figured a formula would be
easier if it is possible. Thank you for any help that you can provide.

=IF(E4="",0,IF((E4="F"),8,IF((E4="D"),4,IF((E4="T" ),2,IF((E4="S"),1,IF(
(E4="M"),0,IF((E4="L"),-1,IF((E4="H"),-2,IF((E4="G"),-4,IF((E4="C"),-8,"ERR"))
))))))))

=IF(E4="",0,IF((E4="F"),8,IF((E4="D"),4,IF((E4="T" ),2,IF((E4="S"),1,IF(
(E4="M"),0,IF((E4="L"),1,IF((E4="H"),2,IF((E4="G") ,4,IF((E4="C"),8,"ERR"))))))
))))

--
Message posted via http://www.officekb.com

.

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
Shorter way Oldjay Excel Discussion (Misc queries) 1 May 5th 08 05:12 PM
Macro name shorter Sunnyskies Excel Discussion (Misc queries) 0 February 8th 07 10:35 AM
Is there a shorter/quicker way to do this? SouthAfricanStan Excel Worksheet Functions 1 June 27th 06 04:34 PM
iso shorter equation nastech Excel Discussion (Misc queries) 0 March 14th 06 10:52 PM
shorter macro jdengel New Users to Excel 1 September 8th 05 06:03 PM


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