+ Reply to Thread
Results 1 to 2 of 2

Counting columns until certain data is found

Hybrid View

  1. #1
    Registered User
    Join Date
    08-18-2008
    Location
    São Paulo / Brazil
    Posts
    1

    Counting columns until certain data is found

    Hello,

    I need to count the # of columns from lets say a1 until a specific value is foun in the same row.

    How can I do this?

    Thanks for the help.

    Last edited by VBA Noob; 08-18-2008 at 05:58 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Take a look at the match function

    http://www.contextures.com/xlFunctions03.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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. How can I speed up this slow macro?
    By rs2k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2008, 08:34 PM
  2. Move data in rows to columns
    By hfler in forum Excel General
    Replies: 2
    Last Post: 07-14-2008, 12:32 PM
  3. How to transpose data from 2 columns into a table?
    By wizzo in forum Excel General
    Replies: 2
    Last Post: 01-29-2008, 03:39 AM
  4. Pull Specific Data from Columns
    By youngw in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 11-08-2006, 02:10 PM
  5. Many Ols Regressions on Many Columns of Data
    By Carpenter9 in forum Excel General
    Replies: 0
    Last Post: 09-12-2006, 02:32 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