+ Reply to Thread
Results 1 to 2 of 2

Pull specific info for a range of cells

  1. #1
    Registered User
    Join Date
    08-02-2009
    Location
    TX, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Pull specific info for a range of cells

    So the problem I have is I am looking for a different / better way to do this. Currently I am doing this -
    =IF('[CROWS-Master Input.xlsx]CROWS-Master Input'!$B2=C3,'[CROWS-Master Input.xlsx]CROWS-Master Input'!$H2,"")

    A Couple things.
    1. The above is in 9 different cells and the last cell ref. just goes from H2, H3, etc for a total of 9 entries.
    2. C3 is a Company name, H3, H4, etc. is a serial number.
    3. This fills out 1 to 9 blocks on a form and I could have a max of 10 different forms ( for different companies) all with this formula in 9 cells (on each form)
    4. If I keep it this way, on my master data sheet I must give each different company 9 rows even if Company A only has 3 Serial numbers, meaning I would have to have 90 rows total to account for the max possible entries. I never need that many.

    Real life is I may have 4 different companies and 2 may need all 9 serial number entries and the other 2 may only have 3 ea.
    Based on the above, I would need to have to have 36 rows/cells to make this work.

    So...I want to be able to just use the min cells for the current data I have which in my example would be 24 cells vs. 36. All the info in the datasheet would just be entered in line, no blank cells. I want excel to look at all the Serial numbers and only put the serial number(s) that are connected to a specific company for that form and enter the information either in 1 cell on the form (easiest way I suppose) or only put 1 (different) Serial number into each of a possible 9 different cells , on each of 4 different forms (based on my example above).

    Hope this make sense and thanks for any help anyone can provide.
    Attached Files Attached Files
    Last edited by balucanb; 05-10-2019 at 11:31 AM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: It works but I need a better way Help

    balucanb, thank you for editing your post title.

    Also, maybe posting a sample workbook with some representative samples AND some expected results will help after you adjust the post title. Thanks.
    If you're having trouble posting a sample workbook using the attachment symbol, it doesn't work. So click on the "go advanced" under this window, then midway down it "manage attachments" click that then browse to the sample, hit upload, ok to close the window then post.
    Last edited by Sam Capricci; 05-10-2019 at 10:55 AM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Replies: 1
    Last Post: 07-02-2018, 07:32 PM
  2. [SOLVED] .Match with On Error: On Error Resume Next works. On Error GoTo only works once. Err.Clear
    By Doc.AElstein in forum Excel - New Users/Basics
    Replies: 28
    Last Post: 03-16-2015, 12:55 PM
  3. how can i make this code works for multiple links it only works for one link
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2014, 08:38 AM
  4. Formula works, but works too well...
    By shaunl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2006, 02:57 AM
  5. Excel Addin works that works on a template workbook
    By s.jay_k in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2006, 03:35 PM
  6. it works, it doesn work, its works....and so on.
    By Naz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-30-2005, 09:05 AM
  7. Replies: 1
    Last Post: 06-21-2005, 12:05 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