SMALL function in EXCEL

L

Lamar

I am using the following formula to sum the 5 smallest
numbers in a row.

=IF(Q34>4,SUM(SMALL(B34:K34,{1,2,3,4,5})),SUM(B34:K34))

It works great, but I would like to highlight the 5
numbers the formula used.

Is there any way?

Thanks.
 
L

Leo Heuser

Lamar,

One way:

Select B34:K34 (from B34) and use this formula
in conditional formatting:

=OR(B34=SMALL($B$34:$K$34,ROW($1:$5)))

--
Best Regards
Leo Heuser
MVP Excel

Followup to newsgroup only please.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top