Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RJ RJ is offline
external usenet poster
 
Posts: 40
Default Excel - in a row of numbers, put last entered number Cell B2

Cell A1 has number for January, Cell A2 number for Feb, Cell A3 number for
Mar etc.

I need a formula that will pull the data from the last month entered into
B2. (IF A12 is blank get A11, but if A11 is blank get A10, if A10 is also
blank get A9 etc.) This needs to go for at least 12 - 15 cells)
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Excel - in a row of numbers, put last entered number Cell B2

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809
  #3   Report Post  
Posted to microsoft.public.excel.misc
RJ RJ is offline
external usenet poster
 
Posts: 40
Default Excel - in a row of numbers, put last entered number Cell B2

Thank you. That works fine.... how do I modify the formula what if I wanted
to put number in cell W1 instead of B2?

"Gary''s Student" wrote:

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Excel - in a row of numbers, put last entered number Cell B2

Fortunately, we can put this formula in any cell (except cells in the first
row).
--
Gary''s Student - gsnu200809


"RJ" wrote:

Thank you. That works fine.... how do I modify the formula what if I wanted
to put number in cell W1 instead of B2?

"Gary''s Student" wrote:

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809

  #5   Report Post  
Posted to microsoft.public.excel.misc
RJ RJ is offline
external usenet poster
 
Posts: 40
Default Excel - in a row of numbers, put last entered number Cell B2

I was afraid of that in my tests.

Is there a different formula that would work at the end of a row of cells to
use the first cell to the left with a number in it?

"Gary''s Student" wrote:

Fortunately, we can put this formula in any cell (except cells in the first
row).
--
Gary''s Student - gsnu200809


"RJ" wrote:

Thank you. That works fine.... how do I modify the formula what if I wanted
to put number in cell W1 instead of B2?

"Gary''s Student" wrote:

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Excel - in a row of numbers, put last entered number Cell B2

You could use a formula where you declare the range to use.

Say you wanted to use A1 to Z1, then you could place this formula in Row1,
as long as it was *outside* the referenced cells.

So, you could enter this in say AA1:

=Lookup(99^99,A1:z1)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"RJ" wrote in message
...
I was afraid of that in my tests.

Is there a different formula that would work at the end of a row of cells
to
use the first cell to the left with a number in it?

"Gary''s Student" wrote:

Fortunately, we can put this formula in any cell (except cells in the
first
row).
--
Gary''s Student - gsnu200809


"RJ" wrote:

Thank you. That works fine.... how do I modify the formula what if I
wanted
to put number in cell W1 instead of B2?

"Gary''s Student" wrote:

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809



  #7   Report Post  
Posted to microsoft.public.excel.misc
RJ RJ is offline
external usenet poster
 
Posts: 40
Default Excel - in a row of numbers, put last entered number Cell B2

PERFECT! Thanks to both you and Gary for great formulas!

"RagDyer" wrote:

You could use a formula where you declare the range to use.

Say you wanted to use A1 to Z1, then you could place this formula in Row1,
as long as it was *outside* the referenced cells.

So, you could enter this in say AA1:

=Lookup(99^99,A1:z1)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"RJ" wrote in message
...
I was afraid of that in my tests.

Is there a different formula that would work at the end of a row of cells
to
use the first cell to the left with a number in it?

"Gary''s Student" wrote:

Fortunately, we can put this formula in any cell (except cells in the
first
row).
--
Gary''s Student - gsnu200809


"RJ" wrote:

Thank you. That works fine.... how do I modify the formula what if I
wanted
to put number in cell W1 instead of B2?

"Gary''s Student" wrote:

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Excel - in a row of numbers, put last entered number Cell B2

You're welcome, and appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"RJ" wrote in message
...
PERFECT! Thanks to both you and Gary for great formulas!

"RagDyer" wrote:

You could use a formula where you declare the range to use.

Say you wanted to use A1 to Z1, then you could place this formula in

Row1,
as long as it was *outside* the referenced cells.

So, you could enter this in say AA1:

=Lookup(99^99,A1:z1)
--
HTH,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"RJ" wrote in message
...
I was afraid of that in my tests.

Is there a different formula that would work at the end of a row of

cells
to
use the first cell to the left with a number in it?

"Gary''s Student" wrote:

Fortunately, we can put this formula in any cell (except cells in the
first
row).
--
Gary''s Student - gsnu200809


"RJ" wrote:

Thank you. That works fine.... how do I modify the formula what if

I
wanted
to put number in cell W1 instead of B2?

"Gary''s Student" wrote:

=LOOKUP(2,1/(1:10),1:1)
--
Gary''s Student - gsnu200809





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
Number entered isn't number recorded in cell. BubbaGee Excel Discussion (Misc queries) 4 September 11th 07 09:38 PM
Can excel give value in words of number entered in another cell? nivedrajesh Excel Worksheet Functions 4 October 27th 06 02:57 PM
cell that only a certain number may be entered jbailey Excel Worksheet Functions 7 August 24th 06 11:09 PM
sum a range of numbers entered into a cell paphos2006 New Users to Excel 3 March 2nd 06 10:38 PM
numbers being entered show in formula bar but not in cell? Jim in Florida Excel Discussion (Misc queries) 2 May 13th 05 06:36 PM


All times are GMT +1. The time now is 07:02 AM.

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"