+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP for partial match and average spectras in another sheet

  1. #1
    Registered User
    Join Date
    04-30-2020
    Location
    somewhere in France
    MS-Off Ver
    depends of the computer I use
    Posts
    1

    VLOOKUP for partial match and average spectras in another sheet

    Hi

    The task wish bring me to this forum is the following one.

    I have a huge (70000...) collection of spectras (30 per sample) (i have more than 2000 samples, so I can't do it manually in reasonable time).

    All these spectras names have this structure : 2190202-14.sam. 2190202 is the sample number, 14 the number of the spectra for this sample (si, it was the 14th spectra recorded for that sample), and .sam the file format (not important).

    I use often vloopup formulas to merge some data(for example, chemistry and spectra data, based on sample name matching). So, I tried to design a vlookup which make a partial match and average the result (and place it in another sheet than the one whoch contains all the data), but it not worked...

    My problem can be solved ?

    Thanks in advance.

    Edit : I solved the problem by myself.
    I used the LEFT and/or research and replace functions to rename all my samples with the same numbers of characters (so, i eliminate the .sam and the spectra number information : only the sample name information is keeped). After, I made a pivot table, with samples as rows, and the rest as values, and I replace "sum of" by "average of".
    Attached Files Attached Files
    Last edited by ExcellDummie; 05-04-2020 at 02:42 PM. Reason: file attachment

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,041

    Re: VLOOKUP for partial match and average spectras in another sheet

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Partial Text Match with VLOOKUP
    By jeffkirk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-25-2020, 02:46 PM
  2. VLOOKUP partial match help
    By neljan in forum Excel General
    Replies: 2
    Last Post: 04-17-2019, 07:01 AM
  3. Vlookup for partial match
    By scusack1 in forum Excel General
    Replies: 4
    Last Post: 07-26-2018, 01:34 PM
  4. VLOOKUP with a Partial Match
    By pluto_ljd in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-17-2018, 01:28 PM
  5. [SOLVED] VLOOKUP with partial match
    By Nekk in forum Excel General
    Replies: 7
    Last Post: 06-28-2012, 11:46 AM
  6. Partial Vlookup Match
    By OptionTrader in forum Excel General
    Replies: 12
    Last Post: 11-15-2009, 08:28 AM
  7. Vlookup - Partial Match
    By VegasL in forum Excel General
    Replies: 8
    Last Post: 06-08-2008, 03:25 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