+ Reply to Thread
Results 1 to 3 of 3

Looping through Formula1 and Formula2 of FormatConditions?

  1. #1
    Registered User
    Join Date
    05-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Looping through Formula1 and Formula2 of FormatConditions?

    Hi,
    How might one loop through the row of the cell address in the Formula1 and Formula2 areas under format conditions?

    I've got something like below but I'd like to have something like Formula1 :="=$A & i" or something. I am not super familiar with VBA so I'm not even sure if there's even a syntax for this type of addressing.

    Please Login or Register  to view this content.
    Thanks.
    Last edited by vaute; 10-05-2014 at 07:15 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    20,198

    Re: Looping through Formula1 and Formula2 of FormatConditions?

    Since your explanation is not clear, how about posting a sample worksheet and tell us what you are attempting to do. That will make it easier to give you a viable solution.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    05-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Looping through Formula1 and Formula2 of FormatConditions?

    alansidman,

    Sorry about lack of clarity. I was trying to use the distance in between two pieces of data to be highlight by CF. Thanks for your time on this thread.

    For others,
    But yeah but stupid me asked a question too early. I didn't know that 'cells' could used but yeah if anyone else might run into the issue, what worked for me was:

    Please Login or Register  to view this content.
    Last edited by vaute; 10-05-2014 at 07:22 PM.

+ 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] SumIf and Looping to find values of different conditions
    By btillroo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2013, 06:36 AM
  2. Need a looping macro with dynamic conditions
    By Nando01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2011, 02:04 PM
  3. [SOLVED] Function - Choose Formula2
    By AnanthakrishnanK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-03-2009, 10:23 PM
  4. Looping with two conditions
    By gsandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2009, 06:18 PM
  5. FormatConditions(1).Formula1
    By Stefi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-17-2006, 06:45 AM

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