+ Reply to Thread
Results 1 to 5 of 5

VB Next?

  1. #1
    Registered User
    Join Date
    01-27-2006
    Posts
    14

    VB Next?

    I have reached the maximum threshold of 8 IF statements in 1 cell but have more I need to enter. I think I should now use some VB code to enter the entire list of conditions I have. I am really inexperienced when it comes to VB so can someone get me started on the syntax? Thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    If you outline what it is you are trying to do, maybe there is an alternate solution to VB. There are ways to shorten the number of nested if statements.


    Steve

  3. #3
    Anne Troy
    Guest

    Re: VB Next?

    Likely, you can create a table of IF in one column, THEN in the second
    column, and use a vlookup:
    http://www.officearticles.com/excel/...soft_excel.htm
    ************
    Hope it helps!
    Anne Troy
    www.OfficeArticles.com

    "msals22" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have reached the maximum threshold of 8 IF statements in 1 cell but
    > have more I need to enter. I think I should now use some VB code to
    > enter the entire list of conditions I have. I am really inexperienced
    > when it comes to VB so can someone get me started on the syntax? Thank
    > you.
    >
    >
    > --
    > msals22
    > ------------------------------------------------------------------------
    > msals22's Profile:
    > http://www.excelforum.com/member.php...o&userid=30908
    > View this thread: http://www.excelforum.com/showthread...hreadid=506953
    >




  4. #4
    Registered User
    Join Date
    01-27-2006
    Posts
    14

    Thanks!

    Quote Originally Posted by Anne Troy
    Likely, you can create a table of IF in one column, THEN in the second
    column, and use a vlookup:
    http://www.officearticles.com/excel/...soft_excel.htm
    ************
    Hope it helps!
    Anne Troy
    www.OfficeArticles.com

    "msals22" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have reached the maximum threshold of 8 IF statements in 1 cell but
    > have more I need to enter. I think I should now use some VB code to
    > enter the entire list of conditions I have. I am really inexperienced
    > when it comes to VB so can someone get me started on the syntax? Thank
    > you.
    >
    >
    > --
    > msals22
    > ------------------------------------------------------------------------
    > msals22's Profile:
    > http://www.excelforum.com/member.php...o&userid=30908
    > View this thread: http://www.excelforum.com/showthread...hreadid=506953
    >
    Anne-
    After a little trial and error I got it...thanks!

  5. #5
    Anne Troy
    Guest

    Re: VB Next?

    You're welcome!
    ************
    Hope it helps!
    Anne Troy
    www.OfficeArticles.com

    "msals22" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Anne Troy Wrote:
    >> Likely, you can create a table of IF in one column, THEN in the second
    >> column, and use a vlookup:
    >> http://www.officearticles.com/excel/...soft_excel.htm
    >> ************
    >> Hope it helps!
    >> Anne Troy
    >> www.OfficeArticles.com
    >>
    >> "msals22" <[email protected]> wrote
    >> in
    >> message news:[email protected]...
    >> >
    >> > I have reached the maximum threshold of 8 IF statements in 1 cell

    >> but
    >> > have more I need to enter. I think I should now use some VB code to
    >> > enter the entire list of conditions I have. I am really

    >> inexperienced
    >> > when it comes to VB so can someone get me started on the syntax?

    >> Thank
    >> > you.
    >> >
    >> >
    >> > --
    >> > msals22
    >> >

    >> ------------------------------------------------------------------------
    >> > msals22's Profile:
    >> > http://www.excelforum.com/member.php...o&userid=30908
    >> > View this thread:

    >> http://www.excelforum.com/showthread...hreadid=506953
    >> >

    > Anne-
    > After a little trial and error I got it...thanks!
    >
    >
    > --
    > msals22
    > ------------------------------------------------------------------------
    > msals22's Profile:
    > http://www.excelforum.com/member.php...o&userid=30908
    > View this thread: http://www.excelforum.com/showthread...hreadid=506953
    >




+ 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