+ Reply to Thread
Results 1 to 8 of 8

Call dates for each customer from sheet2 into sheet1

  1. #1
    Registered User
    Join Date
    05-20-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    9

    Call dates for each customer from sheet2 into sheet1

    So I run a lawn-mowing company and i'm looking for a way to enter data ONCE to fill out a season's mowed dates for each customer.
    EDIT: Sheet1 into Sheet2* title is incorrect.


    Ideally i'd fill out Sheet1 with a Date, and a list of the customers that were done that day, and Sheet2 would collect the dates for each customer throughout the season. Might need a sheet3/4?

    I've created a conceptualization (with no formulas yet) attached.


    sheet2 search sheet1's entire table for value (customer name).
    if (customer name) found, return header value (date) that (customer name) was found in
    repeat search in next column for next (date)

    end with list of (customer name)s with seasons worth of (date)s.
    Attached Files Attached Files
    Last edited by Zeroable; 09-21-2017 at 12:54 PM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Call dates for each customer from sheet2 into sheet1

    Assuming that you want to pull all of the names for each date from Sheet2 into Sheet1, in B2 of Sheet1, try:

    =IFERROR(INDEX(Table2[Company Name],SMALL(IF(Table2[[Column1]:[14]]=B$1+0,ROW(Table2[[Column1]:[14]])-(ROW(Sheet2!$B$2)-1)),ROWS($A$1:$A1))),"") Ctrl Shift Enter

    Drag it over and down as far as needed.

    Edit: I think that I misunderstood. The title confused me. After re-reading everything, I believe that you are looking to pull data from Sheet1 to Sheet2.
    Working on it.
    Last edited by 63falcondude; 09-21-2017 at 12:49 PM.

  3. #3
    Registered User
    Join Date
    05-20-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    9

    Re: Call dates for each customer from sheet2 into sheet1

    your edit is correct. would like to pull from sheet1 (date with list of names), into sheet2 (list of names with dates). sorry for the confusion, didn't notice the mistake i made in the title.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Call dates for each customer from sheet2 into sheet1

    In B2 of Sheet2, try:

    =IF($A2="","",IFERROR(INDEX(Table1[#Headers],SMALL(IF($A2=Table1,COLUMN(Table1)-(COLUMN($B$2)-1)),COLUMNS($A$1:A$1))),"")) Ctrl Shift Enter

    Drag this formula across and down as far as needed.

    Note that the spelling must be the same across both sheets for this to work.

  5. #5
    Registered User
    Join Date
    05-20-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    9

    Re: Call dates for each customer from sheet2 into sheet1

    Quote Originally Posted by 63falcondude View Post
    In B2 of Sheet2, try:

    =IF($A2="","",IFERROR(INDEX(Table1[#Headers],SMALL(IF($A2=Table1,COLUMN(Table1)-(COLUMN($B$2)-1)),COLUMNS($A$1:A$1))),"")) Ctrl Shift Enter

    Drag this formula across and down as far as needed.

    Note that the spelling must be the same across both sheets for this to work.

    it's returning everything or nothing. CTRL SHIFT ENTER didn't seem to do anything. ?
    trying to understand it by reading the formula.
    table1 = sheet1?

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Call dates for each customer from sheet2 into sheet1

    If you open the workbook that you shared in post #1 and follow the steps in post #4, you will get what you are looking for.

    I have attached the workbook with the formula entered for you to refer to.

    Note that the misspelled names will not be pulled over.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-20-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    9

    Re: Call dates for each customer from sheet2 into sheet1

    Thank you!
    Last edited by Zeroable; 09-21-2017 at 02:45 PM.

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Call dates for each customer from sheet2 into sheet1

    You're welcome.

    If that solved your question, please mark this thread as SOLVED.

+ 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. Delete rows based on matching dates in Sheet1 Column A with date in Sheet2 Cell K1
    By robertaw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2015, 02:30 PM
  2. Replies: 3
    Last Post: 09-24-2015, 08:20 AM
  3. [SOLVED] A macro which pulls the data from sheet2 to sheet1 basis of scenarios selected in sheet1
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2015, 01:46 PM
  4. [SOLVED] copy data from sheet1 to sheet2 based on column (A) sheet1 and column (C) sheet2
    By AWITCHER in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-13-2014, 03:20 PM
  5. Replies: 6
    Last Post: 07-25-2013, 02:58 PM
  6. sheet1 info on sheet2, totaled by weeks, by customer, by site id
    By chestersneakers7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-16-2013, 01:42 PM
  7. Replies: 3
    Last Post: 06-06-2012, 05:36 AM

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