+ Reply to Thread
Results 1 to 6 of 6

Lotus 123 had a function that Excel doesn't

  1. #1
    Registered User
    Join Date
    06-14-2009
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Lotus 123 had a function that Excel doesn't

    Lotus 123 had a function where you could graphically, in a cell, show plus symbols(+) or negative symbols (-) for the value of the data. For example if you had a column of numbers that you calculated from the previous year that indicate the change, Lotus, in the next cell would allow you to graphically display the symbols that indicate the strength of the change. So if your result was a positive ten then ten plus symbols would be shown. If it was -20 then 20 negative symbols would be shown.
    Now the numbers I am looking at could be 600,00 and I believe there was a way to to proportion the symbols for example for every 100,000 put in one symbol so the result would be 6 (+) signs.

    Does anyone remember this and can excel do it?

    Thanks to all.
    Last edited by Billybob K; 08-01-2009 at 01:49 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lotus 123 had a function that Excel doesn't

    I'm not entirely sure I follow your example of 600,00 with one + per 100,000 being 6 "+" but... XL has the REPT function:

    C1: =REPT(IF(B1>=A1,"+","-"),ABS(INT((B1-A1)/100)))

    so the above would repeat either + or - depending on whether 2nd value >= 1st value... the character would be repeated x number of times where x was determined by 2nd value - 1st value divided by 100 ... so if A1 were 200 and B1 were 550 you would get 3 + in C1 (350/100 -> 3.5 rounded down to nearest whole number, ie 3)

    Is that what you meant ?

  3. #3
    Registered User
    Join Date
    06-14-2009
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Lotus 123 had a function that Excel doesn't

    Hang on- we are very close- thanks- will get back to you in a minute- still testing it.......

  4. #4
    Registered User
    Join Date
    06-14-2009
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Lotus 123 had a function that Excel doesn't

    Don Qee-
    I had to change your "-" and "+" around. And got the correct response. But when I went to a large number I got a #value# error on only one response- which really threw me (see attached).

    I figured out that the value error was because there was not enough room on the worksheet- so I changed your divisor from 100 to 10000 and it worked.

    Now- can this be turned into a macro or custom formula?

    Thanks again

    Bill K
    Attached Files Attached Files

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lotus 123 had a function that Excel doesn't

    I had to change your "-" and "+" around
    Yes, the example was just that...

    But when I went to a large number I got a #value# error on only one response- which really threw me (see attached).
    The amount of characters that an XL cell can contain is limited, in XL2007 for ex. the limitation is 32767 characters, so to avoid errors you would put a MIN into the REPT function

    D10: =REPT(IF(B10>=A10,"-","+"),MIN(32767,ABS(INT((B10-A10)/100))))

    On earlier versions the limits will be different (lower) .. and/or the amount that can be viewed (outside of the formula bar) will vary... probably a good idea to avoid so many in the first instance...

    Now- can this be turned into a macro or custom formula?
    Confused, why do you wish to do that ?

    General rule of thumb, Custom Functions (UDF) are slower than native functions...
    Last edited by DonkeyOte; 08-01-2009 at 01:34 PM.

  6. #6
    Registered User
    Join Date
    06-14-2009
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Red face Re: Lotus 123 had a function that Excel doesn't

    Thank you for all your assistance. I will increase the divisor to avoid the max cell conflict.
    I will also review the REPT function- that way I can stay native.

    Bill K

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1