• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need help on excel formula

redclay

New Member
Hi, thank you in advance for your help on this.

Need help on the attached formula along an array of numbers that matches an above number.

Very grateful to have a platform to help with my excel shortcomings.
 

Attachments

  • sample formula Chandoo.xlsx
    53 KB · Views: 3
=IFERROR(HLOOKUP(B6,$B$2:$F$3,2,FALSE),"")
 

Attachments

  • sample formula Chandoo-ETAF.xlsx
    52.1 KB · Views: 5
There are alternatives. Firstly a word of warning. I program specifically for 365; I only work with defined names, never direct cell references; I only work with array formulas, never scalars. That makes my formulas look pretty unfamiliar to most!
Code:
= XLOOKUP(counter, period, amount,"")

= TOROW(EXPAND(amount, 5, , ""),,  TRUE)
The first uses XLOOKUP which has the 'not found' condition built in. The second does not perform lookups at all but, instead, relies upon the pattern of requiring values to be distributed to every 5th cell.
 

Attachments

  • sample formula Chandoo-ETAF.xlsx
    53.1 KB · Views: 4
Back
Top