+ Reply to Thread
Results 1 to 4 of 4

Help Please! I'm not even sure if this is possible

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    beaumont, tx
    MS-Off Ver
    excel 2010
    Posts
    2

    Help Please! I'm not even sure if this is possible

    Hey everyone, here's my problem:

    I basically have a list of data coming from one source (directly from the customer), and a list of data coming from another source (contractor hired by the customer) on two separate sheets in a workbook. They are basically in the same format (same columns), but need to stay separate for data management purposes. From these two sheets the raw data go through to their respective "Data Cleanup" sheets. This is a cleanup step where I can substitute data for bad or missing data or note the data as duplicate so no further analysis need be performed. The data cleanup sheets refer directly to the original sheets, so same number of rows.

    This is where it gets complicated - I want to pull the two sheets with the cleaned up data together on one sheet to do a calculation methodology analysis. Right now I have an if statement looking at the data from the contractor and returning the cleaned up data if the cell on the contractor's data cleanup worksheet <>"". If the cell is empty I have an offset function that allegedly should return the first cell of cleaned up data from the customers data cleanup worksheet. However, the offset only works for the amount of data we have now, I would like it to work whether we add or remove data from either worksheet. Here's the formula where it actually begins seeing "" cells and returning the customer's data, on row 949 of my method selection tab:

    =IF('Contractor Data Cleanup'!A948<>"",'Contractor Data Cleanup'!A948,OFFSET('Non-Contractor Data Cleanup'!A$8,+ROWS('Non-Contractor Data Cleanup'!A948:'Non-Contractor Data Cleanup'!A$8)-ROWS('Non-Contractor Data Cleanup'!A948:'Non-Contractor Data Cleanup'!A8),0,1,1))

    Obviously, where the formula begins on row 9 of this worksheet, 'Non-Contractor Data Cleanup'!A8 = 'Non-Contractor Data Cleanup'!#REF!.

    I guess what I'm asking is - is there a smarter more transparent way to return data from two separate sheets in a workbook on one single worksheet?

    Thanks!
    Caroline

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help Please! I'm not even sure if this is possible

    Hi Caroline, welcome to the forum.

    Unfortunately you've accidentally broken one of the Forum RULES.

    Your post title should accurately and concisely describe your problem, the topic of the post. Now that you've written out your post, a better title may be evident to you. I do need you to change it. Thanks!

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    beaumont, tx
    MS-Off Ver
    excel 2010
    Posts
    2

    Re: Help Please! I'm not even sure if this is possible

    Nevermind, I figured it out myself. Instead of +ROWS('Non-Contractor Data Cleanup'!A948:'Non-Contractor Data Cleanup'!A$8)-ROWS('Non-Contractor Data Cleanup'!A948:'Non-Contractor Data Cleanup'!A8), I did +COUNTA(range)-COUNTA(range) and now it updates when the amount of data changes on the worksheets. Thanks anyways

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help Please! I'm not even sure if this is possible

    That's great, and thanks for posting your solution. See post #2. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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