+ Reply to Thread
Results 1 to 15 of 15

Excel worksheet link search and fill formulas?

  1. #1
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10

    Excel worksheet link search and fill formulas?

    Hi guys,

    I have a question that i was wondering if anyone knew the answer to?

    I want to create a spreadsheet table of values that are linked other spreadsheets, a condesnsed version... I am not a total amateur and I understand the world of excel links....

    However the problem lies in the fact that the source files change format every day, what i need is a formula for each cell (i know...) that can:

    1. Firstly find column and row heading titles by looking for part of the title i.e. for a title like 'Occupation' i need a non case sensitive search for 'Occu'.

    2. Once colum and row are found, return the intesecting value.

    The formulas are needed so all I will have to do, after this is finished, is update the source files and the relevant numbers will be found automatically.

    Im sure this is something that can be done with a clever array formula, setup to recognise column and row intersections based on positve returns on search variables, however this one is just outside my capabilities.... HELP

  2. #2
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Oh, and i forgot to mention I do not want a VBA solution, spreadsheet must be macro free!

  3. #3
    Registered User
    Join Date
    07-10-2008
    Location
    India
    Posts
    17
    Have a look at INDEX worksheet function
    Best wishes
    Sreedhar

  4. #4
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Thanks for that, however its it possible to build an array formula with the ROW & COLUMN fuctions inserted into the INDEX function?

    Im guessing....

    ={INDEX(A1:C10, (ROW("Occupation")), (COLUMN("CAR")))}

    ?

    Sorry....

  5. #5
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    G'day Stuart,

    Try this


    Please Login or Register  to view this content.
    HTH
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  6. #6
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Ah now that would be great if i already knew the column numbers that the information appears within, as mentioned its variable so i cant be column specific, or can MATCH be used on an array as apposed to a specific column?

    I need an INDEX array that searches the whole sheet for certain requirements and returns the intersecting value.

    And being honest, it would be even better if i could have a multiple query to the row number so, for example, 2 requirements must be met i.e. "origin" & "destination". And then column query is maybe "rate"

  7. #7
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    G'day Stuart,

    Is it possible for you to post an example a layout of what your looking at and explain what goals you are trying to achieve.


    Cheers

  8. #8
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Hey Ratcat!

    Ok, i'll get a simplified version over to you of what i want to do in a bit, however description of requirements are as below:

    I have a central spreadsheet/matrix that i operate manually at present, it consists of vast amounts of data comprised by manually inputting information from other spredsheets, creating a very large condensed version of all of them...(with me so far?)

    What i want to do is set up an 'auto updater' version of the matrix by programming each cell on the matrix to look within specific source files to return their corresponding values.

    However, the information sources are all in varying formats and they often change their overall format on every update. Considering this to be the case I cannot use direct cell links only (of which would of been ideal if the formats didnt change)

    What i need is a generic search formula that i can taylor to each cell link on my matrix to look for specific requirements on the other spreadsheets, and return the corresponding value.

    So in example, say i need to know a postage rate from one country to another, i need to find the row in the source spreadsheet that satisfys both the origin and the destination, and then return the intersecting column which gives the rate for a certain size...

    Ive looked at the INDEX function and that looks like it could work, all I need is a clever way of generating the row and column numbers without knowing what they are....(i know) by succesfully matching the search criteria (i.e. origin & destination match = Row6. Postage Rate = Column10)

    Also, if possible, i need the search function to be non case sensitive, and be able to look for partial matches i.e. a search for 'England' may be 'eng'.

    I know its a little complicated, but if i can get this to work, all i will need to do to update the matrix is purley change the source files through excel links. And at present that would be a god send!!

    Oh, and the prob is i run this from a works machine, so no macros are aloud, i have to work within the powers of normal excel formula functionality!

    I have this feeling that i know it can happen, its just i am quite rusty on excel array formulas, in words i kinda want it to:

    =SEARCH(SPECIFIED SPREADSHEET) FOR (("SYDNEY" & "LONDON") = ROW6) + (("POSTAGE RATE") = COLUMN10) = INTERSECTING VALUE

    Is it really that complicated!?!

    HELP!

  9. #9
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Oh and im on 2003 if that helps

  10. #10
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    G'day Stuart,

    See the attachment and see you we are getting a step closer to your goal.

    You can change the yellow colour cells information to get a different result.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Hey Ratcat

    Wow! You've been busy!

    Ok, so the problem with both Vlookup and Index/Match is that they rely on you knowing the column references in advance i.e. You already know where to look.

    Unfortunately this is not the case, the formula required needs to search for the intersecting location based upon criteria search, not by cell specific. Like SEARCH FOR CELLS CONTAINING SYDNEY & ADELAIDE, IF THIS IS RETURNED AS TRUE THEN A ROW NUMBER WILL RESULT, AND THEN THE SAME FOR THE COLUMN... Rendering both Vlookup & Index/Matrix unusable.

    Sorry, Its baking my head to! The thing that irritates me the most is that you would never have thought that it was so complicated!

    Although I get the impression your enjoying this!

  12. #12
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    Quote Originally Posted by stuart123
    ...........................................

    Sorry, Its baking my head to! The thing that irritates me the most is that you would never have thought that it was so complicated!

    Although I get the impression your enjoying this!
    Gee I wonder what all the adrenaline junky are doing ?

    Ok I be back with Plan B

    Cheers

  13. #13
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Ive got you stumped!

  14. #14
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    Quote Originally Posted by stuart123
    Ive got you stumped!
    Yes you have.

    Quote Originally Posted by stuart123
    Oh, and i forgot to mention I do not want a VBA solution, spreadsheet must be macro free!
    I've been doing a little bit of researching. My conculsion is that to not to use a VBA solution, the data information maybe in a uniformed manner for a formula(s) to work.
    I found one formula that if you enter 'Eng' it will return 'England'. But that formula will only work on columns not on a area (matrix).

    I'm apologies to you Stuart that I could not provide a solution

    So now I hand you over to the Gods.

    Best of luck to you

    Cheers

  15. #15
    Registered User
    Join Date
    07-18-2008
    Location
    england
    Posts
    10
    Thanks for all ur efforts ratcat,

    I know, its a headache!

    Ive been searching through this forum and there are some members that have pieced together some of the most complicated array formulas i have ever seen! I wonder if they can help...

    If you are an array formula legend please help!

+ 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