+ Reply to Thread
Results 1 to 5 of 5

Replace present formula names with reference data sheet names list

  1. #1
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Lightbulb Replace present formula names with reference data sheet names list

    Hi,

    Reference to the attached workbook, I have a formula in JAN sheet P column starting from P4 cell, it is working fine in displaying the time values if it is over than two hours in each corresponding row of JAN O column provided one of the following criteria value is in the corresponding row of column B; “FLY","TVL","FLY-CO","TVL-CO, and one of the following names is in the corresponding row of column D; “AAA”, “BBB”, “CCC”, “DDD”, ”EEE”, ”FFF”, “GGG”, “HHH”, “III”…

    I would like please a formula that do the same function but illuminate the need for listing all the names in the present formula (AAA, BBB, …) which are a part of a longer list of names in the original formula, and that is by matching the names from the DATA sheet I column name list instead and perform the rest of the present formula function.

    The new expected formula index should account please for a longer names list than the present sample names list in the Data sheet I column and return blank please if no data is in the corresponding row of B column.

    King regards,

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Replace present formula names with reference data sheet names list

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Replace present formula names with reference data sheet names list

    in P4

    =IF(AND(OR(B4="FLY",B4="TVL",B4="FLY-CO",B4="TVL-CO"),O4>TIME(2,0,0),MATCH(D4,Name_List,0)),O4,"")

    "Name_List" is dynamic range for Names
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Replace present formula names with reference data sheet names list

    Many thanks to both of you,

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Replace present formula names with reference data sheet names list

    Glad to help & thanks for the feedback.

+ 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. From A Table Of Names And Birth Dates Pull A List Of Names As Of A Reference Date And Ther
    By rahuleyes in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 17
    Last Post: 11-27-2014, 03:44 PM
  2. Find Names from a List of Names and Replace with "The Candidate"
    By viggykuppu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2014, 02:49 AM
  3. Replace Sheet Name in Formulas with Name from list of Sheet Names - Macro
    By jgray in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-17-2013, 01:25 PM
  4. Replies: 1
    Last Post: 09-03-2012, 10:52 PM
  5. Replace bad names from a list of good names
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-15-2009, 01:39 PM
  6. Replies: 1
    Last Post: 11-27-2008, 11:11 AM
  7. replace formula references with previous sheet names
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2006, 09:35 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