Results 1 to 11 of 11

Identify and store a custom parameter into a LET function

Threaded View

  1. #1
    Registered User
    Join Date
    10-28-2019
    Location
    Brussels, Belgium
    MS-Off Ver
    Office 365
    Posts
    21

    Identify and store a custom parameter into a LET function

    Hi everyone,

    I have two main columns in my file that I want to use:

    "F ID" - a column with IDs;
    "S DP" - a column with either numerical values or "Not correct value" as text;

    I have a function that does other things, which are un-related to my current question, on column "H" (progress until now). What I want to do is add to this function a range that finds the first occurrence of a numerical value on column "S DP", for each F ID, and stores it in the LET function for later use.

    My current LET function:

    =LET(NOT_CORRECT,"Not correct value",

    count_ROWS,ROWS('DP & PAC'!$B$2:$B$7424)+2,

    table_RANGE_YEAR,C2:INDEX(C:C,count_ROWS),
    table_RANGE_SUBMITTED_DP,D2:INDEX(D:D,count_ROWS),
    table_RANGE_INVESTMENT,F2:INDEX(F:F,count_ROWS),
    table_RANGE_FUNDRAISING,E2:INDEX(E:E,count_ROWS),
    table_RANGE_FundID,B2:INDEX(B:B,count_ROWS),


    MIN_YEAR,MIN(table_RANGE_YEAR),
    MAX_YEAR,MAX(table_RANGE_YEAR),

    table_RANGE_OFFSET_INVESTMENT,OFFSET(table_RANGE_INVESTMENT,1,0),
    table_RANGE_OFFSET_FUNDRAISING,OFFSET(table_RANGE_FUNDRAISING,1,0),


    table_RANGE_INV_AMT_INV_PER_YEAR, IF( table_RANGE_YEAR = MIN_YEAR, table_RANGE_INVESTMENT, (table_RANGE_INVESTMENT - table_RANGE_OFFSET_INVESTMENT)),
    table_RANGE_FR_AMT_RAISED_PER_YEAR, IF( table_RANGE_YEAR = MIN_YEAR, table_RANGE_FUNDRAISING, (table_RANGE_FUNDRAISING - table_RANGE_OFFSET_FUNDRAISING)),



    table_RANGE_FR_AMT_RAISED_PER_YEAR)



    ---------------------

    Does someone know a solution for this? i've added a few end-results manually on the "manual input" column, with the desired outcome of the function.

    Many thanks!!
    S
    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. Power query Custom function / parameter query
    By Dicken in forum Office 365
    Replies: 0
    Last Post: 03-23-2022, 10:41 AM
  2. [SOLVED] Power Query Custom Column to identify First Occurrence of Data
    By ibuhary in forum Excel General
    Replies: 18
    Last Post: 12-16-2019, 11:46 AM
  3. [SOLVED] Identify the last sale orders for each store
    By Ucpaul in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2013, 02:34 AM
  4. Looking for a way to identify and store different strings
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-17-2011, 08:24 AM
  5. Identify a custom menu control
    By pprseller in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-31-2009, 01:04 PM
  6. [SOLVED] How to store custom data into Excel cell
    By Popovic.Sasa@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2006, 08:30 AM
  7. [SOLVED] Format when sending a range as parameter to a custom function
    By George Furnell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2005, 01:25 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