+ Reply to Thread
Results 1 to 8 of 8

How can I automatically reference to these columns?

  1. #1
    Registered User
    Join Date
    12-14-2022
    Location
    Bucharest
    MS-Off Ver
    365
    Posts
    92

    Exclamation How can I automatically reference to these columns?

    Hello!

    I attached an Excel file and the results that I want.

    I tried in many ways, but I didn't find a way.

    Would you like to help me?

    Thank you.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Zero-Sama; 06-17-2023 at 10:39 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: How can I automatically reference to these columns?

    Turn A1 to AB2 into a structured table: select the range > Insert > Table.

    EDIT: I've updated the formulae for you.
    Attached Files Attached Files
    Last edited by AliGW; 06-16-2023 at 05:50 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How can I automatically reference to these columns?

    Are you confusing columns & rows??

    Is this what you wanted:

    =SUMPRODUCT(FILTER(H2:H400,A2:A400<>""),FILTER(C2:C400,A2:A400<>""))/SUM(FILTER(C2:C400,A2:A400<>""))

    for min, similar for max
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    02-09-2009
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    380

    Re: How can I automatically reference to these columns?

    Convert to table so ranges are dynamic (size adjusts automatically) & use structured references in formulas.
    Attached Files Attached Files
    If it's been helpful please mark as helpful

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: How can I automatically reference to these columns?

    Try, in H29 and dragged across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    H32 should auto adjust but, when use IFERROR:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Registered User
    Join Date
    12-14-2022
    Location
    Bucharest
    MS-Off Ver
    365
    Posts
    92

    Re: How can I automatically reference to these columns?

    Solved with AliGW's solution.

    You got all rep.

    Thanks.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: How can I automatically reference to these columns?

    Glad to have helped.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: How can I automatically reference to these columns?

    Thanks for the rep.

+ 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. automatically reference spreadsheet name
    By eugz in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-05-2022, 05:08 PM
  2. Change Reference Automatically
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2017, 05:33 AM
  3. [SOLVED] automatically extend columns while keeping a minimum width on specific columns
    By enhydra in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2017, 10:13 PM
  4. [SOLVED] First column as reference, rest of columns as listing to reference
    By samuroeh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2016, 02:05 PM
  5. Reference next set of cells automatically
    By gregg098 in forum Excel General
    Replies: 3
    Last Post: 10-05-2011, 09:50 AM
  6. [SOLVED] tick a reference automatically
    By Mehdi in forum Excel General
    Replies: 1
    Last Post: 03-15-2005, 12:06 PM
  7. [SOLVED] Automatically change tab reference
    By TWC in forum Excel General
    Replies: 2
    Last Post: 02-02-2005, 07: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