+ Reply to Thread
Results 1 to 8 of 8

Diving log help

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    Larvik, Norway
    MS-Off Ver
    Office MAC 2011
    Posts
    43

    Diving log help

    Hi

    I would like to get the dive log to automatically calculate N2 group (gas in blood) and the time it takes from one N2 group to the next.

    See attachments for additional information.


    Hope someone can help me. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Diving log help

    Please try

    =INDEX('Diving tabel'!$C$2:$C$95,MATCH(CEILING(G17,3)*1000+G19*1440,'Diving tabel'!$A$1:$A$95*1000+'Diving tabel'!$B$1:$B$95))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-03-2015
    Location
    Larvik, Norway
    MS-Off Ver
    Office MAC 2011
    Posts
    43

    Re: Diving log help

    It will select the wrong depth (meters) due to G17.3.
    Tried to enter the correct meter from the diver's table.
    6,9,12,15,18,21,24,27,30 meters.
    Got it, but it rounded up the time even though it was right.

    Example: Depth 12m
    Bottom time: 00:45
    N2: F (it should have been E)

    Made some notes in the sheet.
    Attached Files Attached Files

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Diving log help

    Please try at G20
    =LOOKUP(2,1/(G17*1000+G19*1440>='Diving tabel'!$A$1:$A$95*1000+'Diving tabel'!$B$1:$B$95/('Diving tabel'!$A$1:$A$95>0)),'Diving tabel'!$C$1:$C$95)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-03-2015
    Location
    Larvik, Norway
    MS-Off Ver
    Office MAC 2011
    Posts
    43

    Re: Diving log help

    Itīs close, but it needs to round the time up to next letter inn the diving tabel sheet.

    If the bottom time is 55 min it should show C. so it should go up to 60 min bottom time in the diving tabel sheet, but stil have 55 min in the bottom time in the Diving log sheet.
    . Thatīs the problem.... The time need to go up to next letter if the time is higher than the previous time in diving tabel sheet.

    Thank you so mutch for the help. This means a lot.

    Sorry for no excel, have not excel on this computer....

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Diving log help

    Third time's a charm.

    =INDEX('Diving tabel'!$C$1:$C$95,MATCH(1,INDEX(--(G17*1000+G19*1440<='Diving tabel'!$A$1:$A$95*1000+'Diving tabel'!$B$1:$B$95/('Diving tabel'!$A$1:$A$95>0)),),))

  7. #7
    Registered User
    Join Date
    02-03-2015
    Location
    Larvik, Norway
    MS-Off Ver
    Office MAC 2011
    Posts
    43

    Re: Diving log help

    Iīm possible making a mistake. Canīt get it to work. Iīm replacing the , with the ;
    Am I missing somthing?

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Diving log help

    Please see attached
    Attached Files Attached Files

+ 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. Diving values found by LOOKUP
    By ColtsRocker1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-28-2019, 10:24 AM
  2. Diving with Zero and not getting an error
    By archimaitreya in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-11-2018, 09:15 AM
  3. formatting diving me nuts help
    By nickmorgan in forum Excel General
    Replies: 7
    Last Post: 05-15-2015, 08:09 PM
  4. This is wonderful, diving deep into the realm of Excel, Macros and VBA
    By pastadr in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-24-2013, 05:34 PM
  5. Line graph nose diving at end of series
    By LucasBuck in forum Excel General
    Replies: 9
    Last Post: 09-01-2011, 08:39 PM
  6. Diving Shapes into equal points
    By stanysurfer in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-31-2010, 08:25 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