Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kiethb
 
Posts: n/a
Default variable cell references ????


I would like to know if there is any functionality available to do the
following:

I would like to calculate a running figure based on a different cell
reference as they are populated. I would like to accomplish this by
using the COUNT function to count the number of references in a single
column that contain a number, if it does capture that number the COUNT
value and use it as such

(place in cell A20) ---- $A1-B(COUNT $B1:$B20)

This way all cells are blank in the B column, but as soon as a value
appears in B1 then B2 then B3, the formula above would recalc the
output cell.

I hope this makes sense. Is there away to accomplish this logic in
Excel? thank you in advance


--
kiethb
------------------------------------------------------------------------
kiethb's Profile: http://www.excelforum.com/member.php...o&userid=31425
View this thread: http://www.excelforum.com/showthread...hreadid=511181

  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default variable cell references ????

Use the INDIRECT function. E..g,

=$A1-INDIRECT("B"&COUNT($B1:$B20))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"kiethb"
wrote in message
...

I would like to know if there is any functionality available to
do the
following:

I would like to calculate a running figure based on a different
cell
reference as they are populated. I would like to accomplish
this by
using the COUNT function to count the number of references in a
single
column that contain a number, if it does capture that number
the COUNT
value and use it as such

(place in cell A20) ---- $A1-B(COUNT $B1:$B20)

This way all cells are blank in the B column, but as soon as a
value
appears in B1 then B2 then B3, the formula above would recalc
the
output cell.

I hope this makes sense. Is there away to accomplish this
logic in
Excel? thank you in advance


--
kiethb
------------------------------------------------------------------------
kiethb's Profile:
http://www.excelforum.com/member.php...o&userid=31425
View this thread:
http://www.excelforum.com/showthread...hreadid=511181



  #3   Report Post  
Posted to microsoft.public.excel.misc
kiethb
 
Posts: n/a
Default variable cell references ????


Chip, you are the man! that was EXACTLY what I wanted. nice job.


--
kiethb
------------------------------------------------------------------------
kiethb's Profile: http://www.excelforum.com/member.php...o&userid=31425
View this thread: http://www.excelforum.com/showthread...hreadid=511181

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
Creating cell references with variable values to use in Vlookup jackebro Excel Discussion (Misc queries) 2 December 14th 05 02:46 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
DDE linking with variable from named cell! Ben Joiner Links and Linking in Excel 1 March 24th 05 11:32 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Excel: how to formulate conditional cell references centraloffice Excel Worksheet Functions 1 December 10th 04 08:57 PM


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