+ Reply to Thread
Results 1 to 6 of 6

Column Count + Offset

  1. #1
    Registered User
    Join Date
    08-03-2014
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 2010
    Posts
    43

    Column Count + Offset

    Hi guys anyone has a sample code using column count and then followed by offset?

    For example: See attached picture, I want to find the last column with data on row 2, then once I selected the last column it will shift or offset to the next column.

    Thanks. Pls help.


    Capture.JPG

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Column Count + Offset

    For example
    Please Login or Register  to view this content.
    If it's not enough then suggested reading: http://www.excelforum.com/forum-rule...rum-rules.html fifth and fourth point in "Want to get your question answered quickly?" section.
    Best Regards,

    Kaper

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Column Count + Offset

    Please Login or Register  to view this content.
    You don't say what you want to DO with that range, but this example shows you how to find it.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Column Count + Offset

    Not sure what you are trying to achieve. But to give you an idea try something like this.....

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Registered User
    Join Date
    08-03-2014
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 2010
    Posts
    43

    Re: Column Count + Offset

    Thanks sktneer. your example solve my problem thanks.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Column Count + Offset

    You're welcome. Glad I could help.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ 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. Replies: 3
    Last Post: 06-01-2014, 10:26 AM
  2. [SOLVED] Count Rows With Offset
    By pezalmendra in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-02-2013, 11:46 AM
  3. Use a Drop down selection and count how many in column, then offset and add 1
    By v2jtb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2012, 07:07 PM
  4. Offset and count function
    By Strummer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2007, 02:24 AM
  5. COUNT and OFFSET
    By edwardpestian in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2006, 01:15 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