+ Reply to Thread
Results 1 to 5 of 5

IF condition, check more than one cell then Select Case

  1. #1
    Forum Contributor
    Join Date
    03-14-2012
    Location
    location
    MS-Off Ver
    Excel 2007
    Posts
    170

    IF condition, check more than one cell then Select Case

    Hello!

    I would like to expand this code to check more than one cell.
    If in Sheet2 cell H16 or H17 or H18 or H19 or M16 or M17 or M18 or M19="ABC"value and cell AD10=312A or 312B to add text in Sheet3.
    If the conditions are met to add some text.
    Thanks a lot for your help.


    this is what I have, it works but it checks sheet2 and one cell (m16) only.
    Please Login or Register  to view this content.
    blue
    Last edited by blue.chio; 06-15-2013 at 04:33 AM. Reason: check sh2 only

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: IF condition, check more than one cell then Select Case

    How about this?
    Please Login or Register  to view this content.
    Last edited by Tinbendr; 06-15-2013 at 08:54 AM.
    David
    (*) Reputation points appreciated.

  3. #3
    Forum Contributor
    Join Date
    03-14-2012
    Location
    location
    MS-Off Ver
    Excel 2007
    Posts
    170

    Re: IF condition, check more than one cell then Select Case

    Hello David,
    Thank you for your solution, one more thing,
    colud you add a condition for aCell *if there is "ABC".value (check each cell), please?

    blue

  4. #4
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: IF condition, check more than one cell then Select Case

    Sorry about that!
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-14-2012
    Location
    location
    MS-Off Ver
    Excel 2007
    Posts
    170

    Re: IF condition, check more than one cell then Select Case

    Thank you very much!
    (I added that condition but in a wrong place...)

    solved!
    Best Regards,
    blue

+ 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