Results 1 to 11 of 11

How to find the correct value when considering two variables?

Threaded View

Daniel-1973 How to find the correct value... 05-22-2021, 02:40 PM
Fluff13 Re: How to find the correct... 05-22-2021, 02:57 PM
JohnTopley Re: How to find the correct... 05-22-2021, 03:04 PM
Daniel-1973 Re: How to find the correct... 05-22-2021, 03:09 PM
Daniel-1973 Re: How to find the correct... 05-22-2021, 03:05 PM
Fluff13 Re: How to find the correct... 05-22-2021, 03:16 PM
JohnTopley Re: How to find the correct... 05-22-2021, 03:24 PM
Daniel-1973 Re: How to find the correct... 05-22-2021, 03:38 PM
Fluff13 Re: How to find the correct... 05-22-2021, 03:38 PM
JohnTopley Re: How to find the correct... 05-22-2021, 03:48 PM
Daniel-1973 Re: How to find the correct... 05-22-2021, 03:50 PM
  1. #1
    Registered User
    Join Date
    05-17-2020
    Location
    Heiloo, Nederland
    MS-Off Ver
    2007
    Posts
    32

    Question How to find the correct value when considering two variables?

    Good day all again.
    Yeah, I'm busy programming again and I have hit another challenge I sadly can't solve...

    What is it? Well... I am trying to get a list of pitstops, vertical list, into a list that shows the lapnumbers of the pitstops behind each driver. Some made no pitstops, some 3, some 1, most 2. With this double variable (starting number and number of pitstop) I get confused. I can work out the first pitstop correctly with an iferror formula combined with a vlookup, but with the second one it goes wrong when the driver made a third stop (then only the third shows up and not the second, resulting in first, third, third).

    See attachment for how I would like to see the results. And yes, it is just filled in by hand. But my idea is: the more Excel does, the less mistakes there are made. So my question is: what formula(e) should I use to get the final result I desire (Col. E-L). So yeah, it might be that a driver stops 4 or 5 times...

    Thanks in advance for reading, trying or solving. It's appreciated.

    Kind regards,
    Daniël.
    Attached Files Attached Files
    Thank you for your helpful answer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel Solver - variables not changing or solution not correct
    By CaptainCow in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-04-2021, 12:03 PM
  2. The Correct Syntax For Using Variables With Square Bracket Arrays
    By Genus Max in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2020, 07:47 PM
  3. Replies: 5
    Last Post: 02-23-2019, 07:21 PM
  4. search 2 variables, return the correct one beside each match
    By katri80 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-12-2016, 03:39 PM
  5. for/next Correct Syntax for Ranges with variables
    By beat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2013, 11:14 AM
  6. correct function to find a correct time value
    By jekidi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-06-2013, 03:17 PM
  7. Replies: 2
    Last Post: 04-28-2013, 05:55 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