LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 2
Default How to get last entered value in a ROW?

Another way is to redesign your spreadsheet. I take it you
have a spreadsheet which contains monthly data in columns
and you want to know the result of the last entered month.

As you are entering the new month's data to the right of all
other data you have to "find" which column you have used
for that month. If you enter this months data into column B
(or the first column after the row titles), then you can use
column B for your formula cos that is always where the last
month's data will be. All you need to do it select one cell
on the current last month's data and, using menus, select
Insert -- Row.

To make sure your formula does not refer to the column to the
right of the one you just entered you need to make it an indirect
formula like this.

= INDIRECT("B15") + F15

If you actually want this formula in all cells in the column then
a more general one would be

= INDIRECT("B:B") + F:F

That would add the data in the current row for the current month
(column B) to the data in the current row in column F.

The other advantage in doing it this way is that you only need to print
one page to get the latest data and it will always be the first page. This
assumes that all the rows for this month can fit on one page. It saves
working out how many pages you need to skip as your get more and
more months added and thus a wider and wider spreadsheet.

Steve.



"Bob Phillips" wrote in message ...
Ron,

Good point!

Bob

"Ron Rosenfeld" wrote in message
...
On Tue, 02 Dec 2003 14:56:11 GMT, "Excelwiz wanabee"
wrote:

Hi,

I'm wondering if ya'll excel "wizards" can help me out. I want to be able

to
get the "last entered" value for a particular row and subtract from it a
fixed field (i.e. L15-F15 where L15 is the last entered value (or G15,

H15,
etc.; increments monthly) and F15 is a field that does not change in the
equation.)

Thanks,

Bill



If there are no "blanks" then Bob Philips worksheet formula will work

fine. If
there may be blanks in the row, then the *array-entered* formula:

=F15-OFFSET(A15,0,-1+MAX(ISNUMBER(15:15)*COLUMN(1:256)))

should subtract from F15 the last numeric entry in Row 15.

To array-enter a formula, hold down <ctrl<shift while hitting <enter.

XL
will place braces {...} around the formula.


--ron





 
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
How do I get email when something entered Jimbo[_2_] Excel Discussion (Misc queries) 3 September 28th 08 04:08 AM
Value must be entered JStiehl Excel Discussion (Misc queries) 1 May 16th 08 02:10 PM
Display last row entered tallpaul New Users to Excel 2 December 29th 05 09:57 PM
how do i make a value entered be * 2 BigAL921 New Users to Excel 1 December 21st 05 06:45 AM
No value entered WannaKooky Excel Worksheet Functions 2 November 1st 04 03:51 PM


All times are GMT +1. The time now is 08:59 PM.

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

About Us

"It's about Microsoft Excel"