+ Reply to Thread
Results 1 to 4 of 4

Apply ifthen to all rows

  1. #1
    Registered User
    Join Date
    01-25-2019
    Location
    Connecticut, USA
    MS-Off Ver
    2016
    Posts
    10

    Question Apply ifthen to all rows

    Hi,

    I have the following code which combines different cells based on the value of another which works great for S2, but what if I want to apply the same code to all of the rows in column S, where it combines the values in columns C, E, G, to form a description specific to that row? I'm guessing it's some kind of for loop, but I am new at VBA and am confused how to apply it.

    Please Login or Register  to view this content.
    Thanks for any help,

    Cici

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,089

    Re: Apply ifthen to all rows

    How about
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Apply ifthen to all rows

    This should work for you;

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    01-25-2019
    Location
    Connecticut, USA
    MS-Off Ver
    2016
    Posts
    10

    Re: Apply ifthen to all rows

    Thank you very much, that is perfect!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] If statement AND/OR/IfThen?
    By Cleetus09 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 01-10-2019, 01:52 PM
  2. [SOLVED] Ifthen formula help
    By katiedee1625 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-29-2016, 11:06 AM
  3. ifthen problem
    By lschwinkendorf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2015, 02:40 PM
  4. complicated IFTHEN formula
    By Nostradamus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2013, 02:18 PM
  5. [SOLVED] IFTHEN Statements and Dates
    By Rapacious in forum Excel General
    Replies: 6
    Last Post: 04-10-2012, 07:06 PM
  6. SumProduct & IFThen, and other formulas
    By DCMADiva87 in forum Excel General
    Replies: 2
    Last Post: 08-30-2010, 04:29 PM
  7. if and or ifthen?
    By Pam in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-17-2006, 02:05 PM

Tags for this Thread

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