Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Find most recent value in data range that includes SUM formulas

I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Find most recent value in data range that includes SUM formulas

We can force your LOOKUP() to work!!

In O12 you may have something like:
=SUM(O1:O11)
replace it with:
=IF(SUM(O1:O11)=0,"",SUM(O1:O11)) and copy across

This way if the SUM() reports a zero, we make it a blank and your LOOKUP()
will be happy again.
--
Gary''s Student - gsnu200785


"RPage@SF" wrote:

I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Find most recent value in data range that includes SUM formulas

It should work. It doesn't make a difference whether the values are
constants or the results of formulas. As long as the values are *numeric
numbers* the formula should work.

--
Biff
Microsoft Excel MVP


"RPage@SF" wrote in message
...
I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell
that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Find most recent value in data range that includes SUM formula

Now it reports "#NA" if the value is zero, but correctly if there are values
to be summed. How can I get it to report 0 if there isn't a value to report?

"Gary''s Student" wrote:

We can force your LOOKUP() to work!!

In O12 you may have something like:
=SUM(O1:O11)
replace it with:
=IF(SUM(O1:O11)=0,"",SUM(O1:O11)) and copy across

This way if the SUM() reports a zero, we make it a blank and your LOOKUP()
will be happy again.
--
Gary''s Student - gsnu200785


"RPage@SF" wrote:

I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Find most recent value in data range that includes SUM formula

What does the "10^10" part of the equation mean?


"T. Valko" wrote:

It should work. It doesn't make a difference whether the values are
constants or the results of formulas. As long as the values are *numeric
numbers* the formula should work.

--
Biff
Microsoft Excel MVP


"RPage@SF" wrote in message
...
I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell
that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Find most recent value in data range that includes SUM formula

Try this:

=IF(COUNT('Worksheet reference'!O12:X12),LOOKUP(1E100,'Worksheet
reference'!O12:X12),"")


--
Biff
Microsoft Excel MVP


"RPage@SF" wrote in message
...
Now it reports "#NA" if the value is zero, but correctly if there are
values
to be summed. How can I get it to report 0 if there isn't a value to
report?

"Gary''s Student" wrote:

We can force your LOOKUP() to work!!

In O12 you may have something like:
=SUM(O1:O11)
replace it with:
=IF(SUM(O1:O11)=0,"",SUM(O1:O11)) and copy across

This way if the SUM() reports a zero, we make it a blank and your
LOOKUP()
will be happy again.
--
Gary''s Student - gsnu200785


"RPage@SF" wrote:

I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell
that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained
values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Find most recent value in data range that includes SUM formula

10 to the 10th power or 10,000,000,000

--
Biff
Microsoft Excel MVP


"RPage@SF" wrote in message
...
What does the "10^10" part of the equation mean?


"T. Valko" wrote:

It should work. It doesn't make a difference whether the values are
constants or the results of formulas. As long as the values are *numeric
numbers* the formula should work.

--
Biff
Microsoft Excel MVP


"RPage@SF" wrote in message
...
I have a series of cells that sum the columns above them (O12:X12) on
multiple worksheets. I would like to write a formula to report the cell
that
has a value and is the furthest to the right. I used:

=LOOKUP(10^10,'Worksheet reference'!O12:X12)

This worked on a previous worksheet when the data range contained
values,
but since O12 through X12 include SUM formulas, it's not working.

Any ideas?






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
Find the most recent date Access Joe Excel Discussion (Misc queries) 4 September 19th 07 09:43 AM
what is the most recent version of Office (includes Excel)? krock Excel Discussion (Misc queries) 1 September 4th 06 03:21 PM
How to find all formulas that used a certain named range Laurence Lombard Excel Discussion (Misc queries) 2 October 25th 05 08:15 AM
=max(range includes #N/As) David Excel Worksheet Functions 3 September 14th 05 05:00 PM
How do I sum a range which includes the "#N/A" VLOOKUP return valu Sailor Excel Worksheet Functions 6 May 9th 05 08:46 AM


All times are GMT +1. The time now is 09:09 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"