+ Reply to Thread
Results 1 to 6 of 6

Lookup

  1. #1
    Registered User
    Join Date
    04-02-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2003
    Posts
    5

    Red face Lookup

    Hey Guys,

    So I'm attaching a sample of what I'm wanting to do. I'm needing a little bit of help.
    What I'm trying to do is find all the accounts that say "PayPal" and put them into another column. Then the corresponding values that go next to it, I want those in the table as well..

    If you look at my spreadsheet, it makes more sense.

    Thanks for all your help!
    Attached Files Attached Files

  2. #2
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Lookup Formula Help - Possible VBA?

    Not elegant, but it works for me...

    This assumes your data starts in A2 and will put your results in columns F-H.

    Please Login or Register  to view this content.
    Let me know if that's what you're after!
    Last edited by JP Romano; 11-11-2009 at 03:59 PM.

  3. #3
    Registered User
    Join Date
    04-02-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Lookup Formula Help - Possible VBA?

    Thanks! Is that a VBA or Macro? I'm not sure where to input that on the spreadsheet..

  4. #4
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Lookup

    Sorry...my bad. I'm using Excel 2007 and always have problems executing macros from downloaded websites. Do this...
    1) Alt + F11 to open the VBA editor
    2) Right click on the name of your file and select INSERT / MODULE
    3) At the top of the module, enter (without quotes)
    "Sub Summarize"
    (you'll notice that you automatically get "End Sub" displayed a few lines down)

    4) Paste the code I gave you between SUB SUMMARIZE and END SUB

    ...
    Now, you can move your data so that it starts in cell A2

    To run the code, click on the little green arrow button in the VBA editor window. Let's make sure it works before doing anything else...

  5. #5
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Lookup

    Hold tight...let me upload it for you...figured out my issue... 2 min

  6. #6
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Lookup

    Okay...try this one out...
    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)

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