Another way .defined name colB name Data =OFFSET(Sheet1!$B$1,0,0,MATCH(999999,Sheet1!$B:$B),1) in the series data type in =dsc.xlsm!colb name Dates =OFFSET(colB,0,-1)
Don Guillett SalesAid Software dguille...@gmail.com From: Sam Mathai Chacko Sent: Thursday, October 27, 2011 3:40 PM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Find last number in a column with numbers Here's how you create the named range =OFFSET(Sheet1!$B$1,1,,MAX((LEN(TRIM(Sheet1!$B$1:$B$200))>0)*(ROW(Sheet1!$B$1:$B$200)))-1,1) Check the attachment Regards, Sam Mathai Chacko (GL) On Fri, Oct 28, 2011 at 12:46 AM, dguillett1 <dguille...@gmail.com> wrote: Attach your file with a copy of this msg Don Guillett SalesAid Software dguille...@gmail.com -----Original Message----- From: Ken Sent: Thursday, October 27, 2011 1:54 PM To: MS EXCEL AND VBA MACROS Subject: $$Excel-Macros$$ Find last number in a column with numbers I have two columns of numbers. Column A is sequential dates. Column B is data gathered from time to time and entered in the appropriate date row as related to Column A. Column B has lots of blank rows without data. Reason: I do not gather data each day. All the rows below the last entry in Column B are blank. I would like to find and plot the data on a graph and have the graph grow with the data without changing the Source on the graph. I can do it by changing the Data Source each time; I can do it with Macros; and can do it with data in each cell of Column B down to the last entry. How to do it with random blanks in the data of column B? -- FORUM RULES (925+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (925+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- Sam Mathai Chacko -- FORUM RULES (925+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (925+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com
dcs.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12