+ Reply to Thread
Results 1 to 5 of 5

Trying to have 2 worksheets add value to main worksheet using next cell available

Hybrid View

  1. #1
    Registered User
    Join Date
    01-03-2015
    Location
    Pensacola, FL
    MS-Off Ver
    MS 2008 for Mac
    Posts
    29

    Trying to have 2 worksheets add value to main worksheet using next cell available

    Okay so I have a workbook with 1 main worksheet, 2 "copied" worksheets for individuals to use to enter expenditures. What I would like is when a value is entered into a cell on the individual worksheets, for it to go into the main worksheet.

    Example: Individual one enters an expenditure to G7 and Individual two also enters an expenditure to G7 on another worksheet. I would like both expenditures to now be entered to the main worksheet. Individual one would be on g7, but have a macro say if G7 is taken to move over and enter individual two's expenditure to H7. All values will be entered between G:P.

    Does this make sense?

    Thanks!

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Trying to have 2 worksheets add value to main worksheet using next cell available

    so what I understood is that you want two club the data of both the worksheets (from column G to P) in your main worksheet...
    please tell if this is what you want....
    I have made a macro for this.......see the attachment
    This macro will copy the data from Sheet 1 to Main Sheet. Then it will copy the data from Sheet 2 and paste below the existing data in the main sheet.
    test3.xlsm
    note : i have used the column q and r for formulas
    Last edited by sourabhg98; 01-03-2015 at 05:34 AM.

  3. #3
    Registered User
    Join Date
    01-03-2015
    Location
    Pensacola, FL
    MS-Off Ver
    MS 2008 for Mac
    Posts
    29

    Re: Trying to have 2 worksheets add value to main worksheet using next cell available

    Thank you so much for answering sourabhg98! Let me try to explain myself better...So I have 1 main worksheet then copied that worksheet for 2 individuals (3 total worksheets) and deleted irrelevant info in the individual worksheets. What I'm looking to do is have the values that are entered into each individual worksheet to show on the main worksheet, however, on the main worksheet, I would need it to skip the cells that already have a value in it.

    EXAMPLE: Individual 1 enters a value into G7, I would like that info to be entered into the same row on main worksheet, BUT, if individual 2 enters a value into her worksheet on G7, I would want the main worksheet to enter the value into H7 since G7 already has a value in it on the main worksheet. Values can be entered from Column G-P in each row.

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Trying to have 2 worksheets add value to main worksheet using next cell available

    can you please tell that if user 1 enters data in H7 where should it go in the main sheet? I7?

  5. #5
    Registered User
    Join Date
    01-03-2015
    Location
    Pensacola, FL
    MS-Off Ver
    MS 2008 for Mac
    Posts
    29

    Re: Trying to have 2 worksheets add value to main worksheet using next cell available

    So all 3 worksheets are identical as far as where expenditures are listed (columns G-P). Basically the main worksheets combine the individual worksheets into 1 main worksheet.

    Example: Row 7 is Gas expenses. Ind. 1 enters his gas expense in cell G7 on his individual worksheet and Ind. 2 enters gas expense in cell G7 on her individual worksheet. So now on the main worksheet I would like ind. 1 and 2's gas expenses to be listed together. So Ind. 1 gas expense is now shown on main sheet in cell G7 but the ind. 2 also entered on her worksheet gas expense in G7 so I need the main worksheet to see that there's a value listed in G7 and now will automatically enter the amount into the next available cell which would be H7 and so forth until row P. Basically each row has 10 cells per row for expenditures.

+ 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. Distribute Data from One Main Worksheet to Several Other Worksheets
    By workingonit in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-06-2010, 04:23 PM
  2. Viewing multiple worksheets on one main worksheet
    By Brockwood in forum Excel General
    Replies: 3
    Last Post: 05-15-2009, 12:00 AM
  3. Replies: 0
    Last Post: 02-17-2009, 12:03 AM
  4. Find Last Empty Cell, Copy Data from Different Worksheets to One Main Worksheet
    By scgamecock in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2007, 12:12 PM
  5. how do i format from the main worksheet to the other worksheets s.
    By Gqinvt00 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-26-2006, 04:10 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