Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Get the input, not the value

I am using VLookup to have a formula change on my spreadsheet based on the
value of the data validation list that is selected.

How do I have the cells populate with the actual formula and proper cell
references instead of the value of the cell holding the formula (which is
currently "#VALUE!" because it is meant just as a holder, not a cell that
needs a proper vale)

Some Background:
The spreadsheet is designed to calculate water discharge in rivers. A
series of measurements are taken then averaged for the final result. To
determine the velocity of the water at each measurement point the formula
will need to reference the Time and Revelution cells for that measurement.
Each set of measurements is done by using a single Measureing Meter, for wich
the formula is different for the various meters. I would like to have it
so that when a user selects the meter used from the Data Validation list I
created, It automatically populates the velocity cell for each measurement
point with the propper formula, maintaining the relative cell references.

Currently I can only get it to poulate with the final Value of the formula
cell it finds through VLOOKUP.

Meter list is at B5, The formula will populate around 20 measurement points
(varies per site)

Thanks for all your help!!
Daiv.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Get the input, not the value

I'm not quite sure I understand, but maybe you can change your =vlookup()
formula to not show anything if the cell hasn't been completed.

=if(a1="","",vlookup(a1,sheet2!a:e,3,false))



Daiv wrote:

I am using VLookup to have a formula change on my spreadsheet based on the
value of the data validation list that is selected.

How do I have the cells populate with the actual formula and proper cell
references instead of the value of the cell holding the formula (which is
currently "#VALUE!" because it is meant just as a holder, not a cell that
needs a proper vale)

Some Background:
The spreadsheet is designed to calculate water discharge in rivers. A
series of measurements are taken then averaged for the final result. To
determine the velocity of the water at each measurement point the formula
will need to reference the Time and Revelution cells for that measurement.
Each set of measurements is done by using a single Measureing Meter, for wich
the formula is different for the various meters. I would like to have it
so that when a user selects the meter used from the Data Validation list I
created, It automatically populates the velocity cell for each measurement
point with the propper formula, maintaining the relative cell references.

Currently I can only get it to poulate with the final Value of the formula
cell it finds through VLOOKUP.

Meter list is at B5, The formula will populate around 20 measurement points
(varies per site)

Thanks for all your help!!
Daiv.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Get the input, not the value

My problem is that it takes the value of the formula and puts it in the
velocity column instead of the formula itself. for example, if the formula
was =(5+3), the velocity column would be populated with 8 not =(5+3). in
this example it wouldn't make a difference. but I need to referemce cells of
changing numbers. so if the formula was =(A4+3), the value of my velocity
cell should be the relative cel to A4, +3 (perhaps B5=3, or V3+3), and the
refferenced cell value will be different for each measurement point.

My spreadsheet looks like this:
DISTANCE WIDTH DEPTH REVS TIME VELOCITY AREA DISCHARGE NOTES

1.00 1.000 0.00 0 40.0 #VALUE! 0.000 #VALUE!
2.00 1.000 0.00 0 40.0 0.006 0.000 0.000
3.00 1.000 0.00 0 40.0 0.006 0.000 0.000

for each row, the formula will be applied to the Velocity cell and will
reference the respective REVS and TIME cells.

Does this help clarify?

"Dave Peterson" wrote:

I'm not quite sure I understand, but maybe you can change your =vlookup()
formula to not show anything if the cell hasn't been completed.

=if(a1="","",vlookup(a1,sheet2!a:e,3,false))



Daiv wrote:

I am using VLookup to have a formula change on my spreadsheet based on the
value of the data validation list that is selected.

How do I have the cells populate with the actual formula and proper cell
references instead of the value of the cell holding the formula (which is
currently "#VALUE!" because it is meant just as a holder, not a cell that
needs a proper vale)

Some Background:
The spreadsheet is designed to calculate water discharge in rivers. A
series of measurements are taken then averaged for the final result. To
determine the velocity of the water at each measurement point the formula
will need to reference the Time and Revelution cells for that measurement.
Each set of measurements is done by using a single Measureing Meter, for wich
the formula is different for the various meters. I would like to have it
so that when a user selects the meter used from the Data Validation list I
created, It automatically populates the velocity cell for each measurement
point with the propper formula, maintaining the relative cell references.

Currently I can only get it to poulate with the final Value of the formula
cell it finds through VLOOKUP.

Meter list is at B5, The formula will populate around 20 measurement points
(varies per site)

Thanks for all your help!!
Daiv.


--

Dave Peterson

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
How to extract input data? jackoat Excel Discussion (Misc queries) 0 March 28th 06 06:40 AM
input box Monty Excel Discussion (Misc queries) 2 October 7th 05 08:33 AM
Input cell reference is not valid (One Variable Data Table) Dottore Excel Worksheet Functions 9 September 1st 05 03:05 PM
Input Form vba help mdalzell Excel Discussion (Misc queries) 0 April 8th 05 03:57 PM
can you input time (hh:mm:ss) without having to input the colon i. Lexicon Excel Discussion (Misc queries) 4 January 11th 05 02:09 PM


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