+ Reply to Thread
Results 1 to 16 of 16

Vertical Matching

  1. #1
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Vertical Matching

    Hello all,

    I'm looking to do a "Vlookup" type function in that I want to find the Unique then sum up all of the data points the branch off to the right of that unique ID. Let me know if that makes sense. Example Below.

    I want to match the correct PTN- Then SUM/Average the date changes across the 3 dates for that specific PTN.


    PTN Date 1 Date 2 Date 3
    ABCD 1/10/17 1/15/17 2/15/17
    DCBA 2/15/17 1/15/17 4/15/17
    WXYZ 2/15/17 2/10/17 2/15/17




    Thanks!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Vertical Matching

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vertical Matching

    you can try this:
    =IFERROR(SUM(INDIRECT("B"&MATCH($F$1,$A$2:$A$4,0)+1&":"&"D"&MATCH($F$1,$A$2:$A$4,0)+1)),"")
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Vertical Matching

    Okay, Thanks. I have attached a sheet. I want to pull the Data over to a new Sheet and the PTN's are constantly changing when I put the Data into the spread sheet so need to be able to Match it when i pull the data to the analysis tab.
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Vertical Matching

    Gawd!!

    So what does -20886.75 (B9) represent? I don't follow what you are trying to do A number like -20886.75 means nothing to me....

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vertical Matching

    So attach file where you show EXACTLY what you want, BEFROE sheet and AFTER sheet

  7. #7
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Vertical Matching

    The (B9) cell just represents the difference between the date changes divided by 4. I just need a number to quantify how large the change in dates is.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Vertical Matching

    This is incomprehensible. Manually calculate your expected reults and repost your attachment.

  9. #9
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Vertical Matching

    I will grab part of exactly what I need and re-post it and manually calculate my expected results, but you still wont understand the result I'm trying to achieve because its a metric that only will make sense in my company.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Vertical Matching

    You may be right, but... -20thousand and something is totally bizarre!!!

  11. #11
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Vertical Matching

    Yes, My math was wayyyy off on that one honestly I'm trying to come up with a better ratio for the end result right now.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vertical Matching

    something like this?
    (I don't care about your math level )
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Vertical Matching

    Yup! That is basically what I'm looking for. I think I just need to figure out the correct math to track the deviation of the dates. If you see in the attached, there are times the dates don't change at all so I cannot just subtract the dates.
    Attached Files Attached Files

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vertical Matching

    So you need to think more, define what exactly you want to achieve, create brand new detailed description and attach excel file which reflect data type and structure of your original work.

    If that takes care of your original question, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you) then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED. Thanks.

  15. #15
    Registered User
    Join Date
    07-27-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Vertical Matching

    Thank you. Yes, I still don't know what math to use to properly track it. You did answer my original question.

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vertical Matching

    You are welcome, thanks & good luck

+ 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. return all instances matching criteria acrros/vertical
    By donnIeDorian in forum Excel General
    Replies: 3
    Last Post: 06-14-2017, 05:31 AM
  2. [SOLVED] Return Value in Cell by matching Horizontal and vertical names
    By emsiti in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-01-2016, 08:16 AM
  3. Horizontal and Vertical matching together
    By pmagicnet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2015, 10:40 AM
  4. Searching matching vertical and horizontal criteria in multiple sheets
    By Bloozntooz in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-14-2015, 04:12 PM
  5. [SOLVED] 3 criteria for horizontal and vertical matching
    By mator in forum Excel General
    Replies: 5
    Last Post: 12-24-2014, 07:19 AM
  6. 3 criteria for horizontal and vertical matching from a table
    By mator in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-24-2014, 06:28 AM
  7. vertical lookups and matching within a range
    By Pendrmic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2008, 06:53 PM

Tags for this Thread

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