Closed Thread
Results 1 to 2 of 2

How to jump to the next cell down in excel to compare records after logical test returns f

  1. #1
    Registered User
    Join Date
    08-09-2015
    Location
    uk
    MS-Off Ver
    2013
    Posts
    4

    Question How to jump to the next cell down in excel to compare records after logical test returns f

    Hi there,

    I am in urgent need to create a formula to automatically fill the data on column C(Patentee).

    Where Record ID (1-1, 1-2, etc in table 1) are subdivisions of Record ID (1,2,3 in table 2). I need to assign the Patentee name to each and every record.

    I have got to the point where I can compare the digits in the two record ID colums but need to jump to the next record in table two if the result of the logical text is false.

    Also, how can I compare anything before the "-" as I am using left(recordID, 1) but once I get to decimals etc, the formula isn't good any longer...

    IF(left(RecordID, 1)=VALUE(RecordID),Patentee, ???)

    Any ideas will be much appreciated!

    Cheers,

    K

    Table 1
    Record ID Drug Name Patentee
    1-1 Meropenem (Product) ACS Dobfar S.p.A.
    1-2 Meropenem Intermediate ACS Dobfar S.p.A.
    2-1 Ertapenem (Product) XYZ
    2-2 Ertapenem Intermediate XYZ
    3-1 Orlistat (Product) KRKA, D.D.
    3-2 Orlistat Intermediate KRKA, D.D.
    4-1 Erlotinib Intermediate KRKA, D.D.
    4-2 Erlotinib (Product) KRKA, D.D.


    Table 2
    Record ID Drug Name Patentee
    1 Meropenem ACS Dobfar S.p.A.
    2 Ertapenem XYZ
    3 Orlistat KRKA, D.D.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2407 Win 11 Home 64 Bit
    Posts
    24,081

    Re: How to jump to the next cell down in excel to compare records after logical test retur

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IF function using cell colour as logical test
    By denk15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2014, 09:40 AM
  2. [SOLVED] Using cell references in IF logical test
    By Petijandro in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 02-01-2013, 09:34 AM
  3. Replies: 5
    Last Post: 12-09-2012, 11:04 PM
  4. IF Logical Test for Time Range In Cell
    By Bob McCusker in forum Excel General
    Replies: 8
    Last Post: 07-23-2010, 04:58 AM
  5. If false, do the logical test for next cell
    By Zvetam in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-21-2008, 07:48 AM
  6. [SOLVED] Logical Test comparison using cell color
    By chamuko in forum Excel General
    Replies: 2
    Last Post: 11-08-2005, 11:25 PM
  7. [SOLVED] logical test for each and every cell in range
    By matt in forum Excel General
    Replies: 5
    Last Post: 09-16-2005, 07:05 AM

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