+ Reply to Thread
Results 1 to 6 of 6

naming a range in table

  1. #1
    Forum Contributor
    Join Date
    12-23-2007
    Location
    chennai india
    MS-Off Ver
    2010
    Posts
    141

    naming a range in table

    I have made a table. To know the last row in table in J1 I have entered formula SUMPRODUCT(MAX((Table2<>"")*ROW(Table2))). Then I have named a range bookdate by formula =Sheet1!$B$2:INDIRECT("b"&Sheet1!$J$1) and other range Particulars by formula Sheet1!$D$2:INDIRECT("d"&Sheet1!$J$1) and in sheet 2 I have entered a formula =SUMPRODUCT((MONTH(bookdate)=4)*(YEAR(bookdate)=2017)*(particulars=Sheet1!D4),issues). The results shows #value. I am not able to rectify mistake. And whereas I have made same in sheet 3 & 4 without table it works. Attaching worksheet to explain it fully. Eagerly awaiting for your replies to know my error.
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,222

    Re: naming a range in table

    can you show manually in your file where & which output required.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: naming a range in table

    Hi,

    Why not use the simple SUMIFS() function. e.g.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    of course since there are no April 2017 dates in your table it will currently return zero. To make this more usable most people hold the start and end date required in two cells and substitute the cell refs for DATE() function

    Alternatively just use a Pivot Table and Group the dates by month.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    12-23-2007
    Location
    chennai india
    MS-Off Ver
    2010
    Posts
    141

    Re: naming a range in table

    Formula where i have not taken table in sheet 4 B6 it takes from sheet 3 F29. and in sheet 2 B6where it takes report from table(sheet1 ) the answer comes as #value. I am interested in doing in table because it has more than 20000 rows.the formula which i have shown in sheet 4 B6 such around 10 formulas are there from B7 to b13. to make it faster only i am interested in table(sheet1 report sheet2)// in ranges(sheet 3 report sheet4) it is perfect. hope i have explained what is required. My main is to make it faster without VBA.

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: naming a range in table

    Isn't it tables have dynamic range ?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  6. #6
    Forum Contributor
    Join Date
    12-23-2007
    Location
    chennai india
    MS-Off Ver
    2010
    Posts
    141

    Re: naming a range in table

    Thank you very much, appreciate & valuse your efforts

+ 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] Naming a new column in a table
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2014, 01:36 PM
  2. [SOLVED] Excel VBA - Naming Range - Has Duplicates. Consider only Unique Values and Name that Range
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2014, 11:06 AM
  3. Naming table array in Vlookup
    By thinker038 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-13-2013, 01:41 AM
  4. [SOLVED] Naming a Range in VBA
    By chad portman in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-29-2013, 11:16 AM
  5. Naming a Range of Cells where Range is Variable.
    By R_S_6 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-06-2010, 06:52 AM
  6. [SOLVED] Pivot Table Group Naming
    By Arun in forum Excel General
    Replies: 3
    Last Post: 06-26-2006, 06:00 PM
  7. Naming a Pivot Table???
    By ddawg09 in forum Excel General
    Replies: 3
    Last Post: 02-11-2006, 04:50 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