Results 1 to 3 of 3

CALC Error within LAMBDA

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    773

    CALC Error within LAMBDA

    Hello, can someone explain or point me in the direction of information ;

    I have a Lambda formula to sum the count of cat or dog for each row;

    SCAN($B$4:$F$4,{"cat","dog"}, LAMBDA(x,y, SUM( --ISNUMBER(SEARCH(y,x)))))
    that will spill the sum for cat and the sum of count for dog, but if i remove the SUM part I just get a CALC error,
    i could understand it not working at all, but find this difficult, I have had a few similar with lambda and vistack where there is an error until wrapped in sum,

    as it turned out it was not the right approach anyway and I needed; REDUCE;

    =
    BYROW( B4:F10, LAMBDA(A,REDUCE(0,A, LAMBDA(x,y, x + SUM(--ISNUMBER(SEARCH({"cat","dog"}, y)))))>0 ))
    as said i'm just interested in why the error occurs until wrapped in SUM, I have attached the work book with examples.

    Richard.
    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] Error (BYROW, LAMBDA, INDEX)
    By Mxmaarten in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-01-2024, 10:49 AM
  2. [SOLVED] BYROW(...LAMBDA(...) ) result in #CALC! error
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-18-2022, 07:17 AM
  3. Getting #CALC! error from using FILTER function
    By mikehk in forum Excel General
    Replies: 1
    Last Post: 11-28-2020, 10:26 PM
  4. Faculty calc error...
    By danielronnstam in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2014, 03:45 PM
  5. Excel Calc Error : 14 <> .14*100 ?!?!
    By neon_e in forum Excel General
    Replies: 1
    Last Post: 08-14-2007, 07:07 PM
  6. [SOLVED] Calc error
    By Michel Finschi in forum Excel General
    Replies: 2
    Last Post: 01-07-2006, 12: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