+ Reply to Thread
Results 1 to 4 of 4

Advice needed - using xlup

  1. #1
    Registered User
    Join Date
    09-17-2015
    Location
    Portland, OR
    MS-Off Ver
    2010
    Posts
    8

    Advice needed - using xlup

    I'm stumbling on the code to count all items in Column B but not the very first two rows (i.e. B1 and B2).
    I've attempted to use offset but it's not working for me.

    This code below in the loop works perfectly fine but includes B1 and B2:
    For i = 1 To wb1.Sheets("items").Range("B" & Rows.Count).End(xlUp).Row

    What am I missing? Do I need to tackle this in a different manner?
    BTW, column B has approx 62000 rows populated with data. Just done't need B1 and B2 included in the list

    -brian

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Advice needed - using xlup

    Hi.

    In that case shouldn't you be beginning with:

    Please Login or Register  to view this content.
    ?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    09-17-2015
    Location
    Portland, OR
    MS-Off Ver
    2010
    Posts
    8

    Re: Advice needed - using xlup

    Indeed. I'm over engineering...

    Thank you

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Advice needed - using xlup

    We all do that!

    And you're welcome.

    Cheers

+ 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. IF function advice needed
    By mairead100 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2014, 06:59 AM
  2. VB/ Formula advice needed
    By DanUK86 in forum Excel General
    Replies: 4
    Last Post: 09-10-2009, 07:57 AM
  3. help advice needed
    By stevencarroll19 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-30-2006, 12:00 PM
  4. Formula Advice Needed
    By Brad_A in forum Excel General
    Replies: 1
    Last Post: 03-03-2005, 03:06 PM
  5. advice needed
    By Duncan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-27-2005, 07:06 PM
  6. Advice needed...
    By Duncan in forum Excel General
    Replies: 3
    Last Post: 01-27-2005, 05:06 PM
  7. [SOLVED] advice needed
    By Duncan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2005, 04:06 PM

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