Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Function evaluate multiple cells and return 1st one w/a value

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.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Function evaluate multiple cells and return 1st one w/a value

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

"Dan Shoemaker" wrote in message
...
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return true if multiple cells are the same linglc Excel Discussion (Misc queries) 3 April 2nd 23 08:39 PM
Function won't return value in merged cells Dr. Mike Excel Discussion (Misc queries) 5 May 30th 06 01:44 PM
IF function....testing against values in multiple cells racmb1975 Excel Worksheet Functions 2 October 12th 05 07:50 PM
Return data from multiple cells Redleg40 Excel Worksheet Functions 1 July 19th 05 03:40 PM
Function to look at two cells and return a third jlmam Excel Worksheet Functions 2 January 26th 05 04:41 PM


All times are GMT +1. The time now is 03:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"