Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cinvic
 
Posts: n/a
Default How do I set up a formula with a changing range in an excel macro


  #2   Report Post  
Posted to microsoft.public.excel.misc
JE McGimpsey
 
Posts: n/a
Default How do I set up a formula with a changing range in an excel macro

You need to post a bit more detail than that...

Are you asking for a VBA formula or a formula to put into a cell?

By changing range, do you mean the range that the formula goes into
changes, or a range reference used as a reference in the formula changes?



In article ,
cinvic wrote:
  #3   Report Post  
Posted to microsoft.public.excel.misc
ruffnro
 
Posts: n/a
Default How do I set up a formula with a changing range in an excel ma

I don't know what his question was, but I have one along the same lines.

I am trying to write a vlookup formula where the table_array is a range name
that can change based on other information in the same row. For example, if
the service line in the current row is "business incentives", I want to look
in a range name called "business_incentive". But if it is "employment tax",
I want to look in the range name called "employment_tax".
Business_incentives and employment_tax are ranges that are defined elsewhere
in the workbook.

Thanks for any help you can provide to me.



"JE McGimpsey" wrote:

You need to post a bit more detail than that...

Are you asking for a VBA formula or a formula to put into a cell?

By changing range, do you mean the range that the formula goes into
changes, or a range reference used as a reference in the formula changes?



In article ,
cinvic wrote:

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
excel 4.0 macro removal tool Sachin Shah Excel Discussion (Misc queries) 0 August 25th 05 04:17 AM
Excel - return a picture or range rows as the result of a formula juststarting Excel Worksheet Functions 1 July 4th 05 12:59 AM
Putting numbers in excel without it changing into a formula? RachaelDPT Excel Worksheet Functions 3 April 22nd 05 10:12 AM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM


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