Function evaluate multiple cells and return 1st one w/a value

D

Dan Shoemaker

Have a table with Price & Purchases by Qtr:

A B C D
E F
QTR1$ Qtr1Vol QTR2$ Qtr2Vol Qtr3$ Qtr3Vol

Row5 $1.00 5000 $1.10 5500 $1.12 5300
Row6 $2.20 2500 $2.22
2600

Is there a function that will evaluate colum A row5 , C5, E5 and return the
first one (left to right) that has a value?

In the example above Row 5 = $1.00 and Row 6 = $2.20

The above is a very simple example but the real data will have about 20
columns to evaluate.
 
B

Biff

Hi!

Try this:

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(A5:F5,MATCH(TRUE,A5:F5<>"",0))

Biff
 

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