Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default text substitution

I have a spread sheet that tracks equipment for our company. I split the
screen because I record fuel usage and meter readings on a number of pieces
of equipment. Part of the record indicates which of our project sites the
equipment is located at. At the beginning of the month, I type the site
location in a cell and as the month progress, I type the name of the new site
if the equipment moves in a cell on that same line. What I would like to do
is have the original cell be updated any time I type a new location in that
line. Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default text substitution

Let's say you want cell A1 to contain the most recent value in the first row.
So if we start with a value in B1, then we see that value in A1. If we
later enter a value in C1, then A1 changes to this value.

The desire is that A1 reflect he last (right-most) value in the row. In A1
enter:

=LOOKUP(2,1/($B$1:$IV$10),$B$1:$IV$1)

this should do the trick.
--
Gary''s Student - gsnu200802


"Mark" wrote:

I have a spread sheet that tracks equipment for our company. I split the
screen because I record fuel usage and meter readings on a number of pieces
of equipment. Part of the record indicates which of our project sites the
equipment is located at. At the beginning of the month, I type the site
location in a cell and as the month progress, I type the name of the new site
if the equipment moves in a cell on that same line. What I would like to do
is have the original cell be updated any time I type a new location in that
line. Any help would be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default text substitution

I tried your solution, but I get an error #VALUE!. I think this is because I
am looking to replace text and not a number. If you think I'm donig
something wrong in my formula, please let me know. thanks.

Also, do I need to be using "hlookup" since I'm using a row?

"Gary''s Student" wrote:

Let's say you want cell A1 to contain the most recent value in the first row.
So if we start with a value in B1, then we see that value in A1. If we
later enter a value in C1, then A1 changes to this value.

The desire is that A1 reflect he last (right-most) value in the row. In A1
enter:

=LOOKUP(2,1/($B$1:$IV$10),$B$1:$IV$1)

this should do the trick.
--
Gary''s Student - gsnu200802


"Mark" wrote:

I have a spread sheet that tracks equipment for our company. I split the
screen because I record fuel usage and meter readings on a number of pieces
of equipment. Part of the record indicates which of our project sites the
equipment is located at. At the beginning of the month, I type the site
location in a cell and as the month progress, I type the name of the new site
if the equipment moves in a cell on that same line. What I would like to do
is have the original cell be updated any time I type a new location in that
line. Any help would be appreciated.

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
text substitution Mark Excel Worksheet Functions 4 September 5th 08 10:22 PM
More than i substitution Otto Moehrbach Excel Discussion (Misc queries) 10 November 19th 07 11:50 PM
Substitution Mitchell Excel Discussion (Misc queries) 4 December 19th 06 07:22 PM
substitution Cossloffe Excel Discussion (Misc queries) 1 June 4th 06 07:10 AM
Substitution Boenerge Excel Discussion (Misc queries) 2 May 23rd 05 12:14 PM


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