Results 1 to 17 of 17

Formulas to create a numbering based on other cells values

Threaded View

  1. #1
    Registered User
    Join Date
    05-27-2022
    Location
    angola
    MS-Off Ver
    MS office Pro Plus 2016
    Posts
    12

    Exclamation Formulas to create a numbering based on other cells values

    The formula in Z is looking to the formula in X and generates the unique identifier based on the values in columns B, J, and V. Here's a breakdown of the formula:

    IF(V5<>"", ...) checks if the value in cell V5 is not empty.
    If the condition is true (V5 is not empty), the formula continues to the inner IF statement.
    IF(B5="", "", CONCATENATE("CTRI-", VLOOKUP(K5, Clients, 2, FALSE), TEXT(ISOWEEKNUM(J5), "00"), TEXT(ROW($B$4) - ROW(B5), "000"))) checks if the value in cell B5 is empty.
    If the condition is true (B5 is empty), it returns an empty string.
    If the condition is false (B5 is not empty), the CONCATENATE function is used to create the unique identifier.
    "CTRI-" is a constant string used as a prefix for the identifier.
    VLOOKUP(K5, Clients, 2, FALSE) performs a VLOOKUP function using the value in cell K5 as the search key. It searches for a matching value in the "Clients" range and retrieves the corresponding value from the second column.
    TEXT(ISOWEEKNUM(J5), "00") extracts the ISO week number from the date in cell J5 using the ISOWEEKNUM function and formats it as a two-digit number.
    TEXT(ROW($B$4) - ROW(B5), "000") calculates the row number difference between the current row and the fourth row in column B. It formats the difference as a three-digit number.
    If any error occurs during the evaluation of the inner IF statement, the IFERROR function returns an empty string.
    If the condition in the outer IF statement (V5 is not empty) is false, the entire formula returns an empty string.
    Therefore, the formula in Z5 is dependent on the formula in X5, as it uses the same logic to generate the unique identifier based on the conditions and values in the corresponding rows.


    What I want is that the formula in z, after looking to X and found no repetition to continue with the next numbering 002,003,004
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Based on 2 criteria checks, create sequence numbering
    By nerzzul in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-02-2023, 06:44 AM
  2. [SOLVED] Create a reference to a cell based on 2 other cells values
    By Vaslo in forum Excel General
    Replies: 3
    Last Post: 10-03-2018, 11:35 AM
  3. Replies: 1
    Last Post: 02-17-2017, 10:25 AM
  4. How to create a list based on values in a range of cells?
    By 70pjsmith in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2015, 01:25 PM
  5. [SOLVED] 0 Value Cell Formula to create 0 values in other cells that have references formulas.
    By olyneum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-31-2013, 02:33 AM
  6. Create folder structure based on values in Cells
    By Traymond in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2011, 02:59 PM
  7. [SOLVED] Summing cells values based on IF formulas
    By Seamus Conlon in forum Excel General
    Replies: 2
    Last Post: 10-11-2005, 11:05 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