+ Reply to Thread
Results 1 to 10 of 10

Need to pull data from multiple columns only if value in column A

  1. #1
    Registered User
    Join Date
    09-27-2013
    Location
    la crosse WI
    MS-Off Ver
    Excel 2007
    Posts
    4

    Need to pull data from multiple columns only if value in column A

    HI, So my boss said i have to figure this out and its not going so well but what i need to do is pull data from column A,B,and J and insert it into a new tab but only if there is a value in column A. It needs to update if the information on the original sheet is changed. I added a second tab with what the output should look like. I don't even know if its possible





    Book1.xlsx
    Last edited by RogueOfDoE; 09-27-2013 at 08:15 PM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Need to pull data from multiple columns only if value in column A

    Hello RogueofDoE, first of all, welcome to the forum, yes that can be done, Please let me know how many times GL No.Can be same.

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Need to pull data from multiple columns only if value in column A

    Are you looking for this???

    if answer helps you click"*" add rep icon in the bottom left corner of my post and mark thread as solved.

    The formula used in sheet completed is array formula( you need to type or copy paste the formula then hold control with shift and hit enter , you will see curly braces{} will surround your formula in formula bar, its the confirmation of array))

    you can fill data in sheet one as much as you want and need to drag all formula the formula from top to bottom in completed sheet to extract the data from sheet one in
    Attached Files Attached Files
    Last edited by hemesh; 09-27-2013 at 09:28 PM.

  4. #4
    Registered User
    Join Date
    09-27-2013
    Location
    la crosse WI
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need to pull data from multiple columns only if value in column A

    attempt2.xlsx

    ok, so what you have i think is perfect im just having issue applying it to my sheet to i have attached a more complete version, it is still the same columns A,B, and J and they just need to go into the description, account and amount columns on the next tab. Thank you so much for your help.

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Need to pull data from multiple columns only if value in column A

    if answer helps you click"*" add rep icon in the bottom left corner of my post and mark thread as solved.

    The formula used in sheet completed is array formula( you need to type or copy paste the formula then hold control with shift and hit enter , you will see curly braces{} will surround your formula in formula bar, its the confirmation of array))

    is this you are looking for ???

    Change the references according to your sheets and data
    Attached Files Attached Files

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Need to pull data from multiple columns only if value in column A

    Or just alternative

    =VLOOKUP(A2,IF(Sheet1!$B$2:$B$11=B2,Sheet1!$A$2:$J$11,""),10,FALSE)

    Array Formula (ctrl-shift-enter together)

    Azumi

  7. #7
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Need to pull data from multiple columns only if value in column A

    Hello, If your problem is solved mark the thread as solved go to thread tools---> mark as solved.
    Thanks for the rep

  8. #8
    Registered User
    Join Date
    09-27-2013
    Location
    la crosse WI
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need to pull data from multiple columns only if value in column A

    we are very close now, the original one skipped the rows that did not have a value in the account column on the original tab but this one is just putting in 0. i do appreciate all the help.

  9. #9
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Need to pull data from multiple columns only if value in column A

    Glad We Could Help !!

  10. #10
    Registered User
    Join Date
    09-27-2013
    Location
    la crosse WI
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need to pull data from multiple columns only if value in column A

    ok so were so close on this on solved the formula skips lines that dont have a value in the account field, but on attempt2 which has (as far as i can see) the same formula it does not skip said lines that have no value in the account spot it just fills it with 0's instead. If i could just get a little bit of help with my last issue i think we will be good. Thank you!
    Attached Files Attached Files

+ 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. VLOOKUP to pull data from multiple columns
    By Paragoomba in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-11-2013, 08:47 AM
  2. Pull Data from Multiple Columns Based On Data Validation List Selection
    By CHRISOK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2013, 11:41 PM
  3. [SOLVED] Pull data from same cell from multiple sheets into master column
    By incubi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-09-2013, 04:42 PM
  4. Lookup Data in One Column, Find Multiple Entries in Next, Copy to Multiple Columns
    By nzxt1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2010, 01:17 AM
  5. Pull data from different columns based on info in column "A".
    By PowerSchoolDude in forum Excel General
    Replies: 2
    Last Post: 08-25-2009, 03:25 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