formulae variables

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Formulae with variables

Formulae with variables

resolvedResolved · Medium Priority · Version 2007

Tom has attended:
Excel VBA Intro Intermediate course
Excel Advanced course
Excel VBA Advanced course
Access Introduction course

Formulae with variables

I want to fill a column with formulae relative to either a cell or a sheet reference; in other words to include Cells(i, 2) or Sheets(i) in the formula. Can you advise how I can construct the formula please?

RE: formulae with variables

Hi Tom,

Thank you for your question.

Sorry for the delay in responding.

Can you please provide some more detail into what you are trying to achieve.

Regards

Simon

RE: formulae with variables

Hi Simon.

Here is the example:

Sheet 1 column A is a list Flat 1, Flat 2 .......Flat 192.

Sheet 1 column B is intended to show, via formulae, the value in cell (3, 5), (fixed), in the corresponding Sheet called Flat 1, Flat 2 ....Flat 192.

I am sure this can be done by a formula relative to the value of cell (i, 1), but get very confused on the syntax for formulae, and how to write it to accommodate the relative sheet references.

Can you help?

Many thanks,

Tom

RE: formulae with variables

Hi Tom

I work with Simon and we have discussed your requirement. We are reasonably confident that we can create a solution for you however it is beyond the capabilities of this forum. What we would need to do is have you send us your working files along with a summary of key features you require.

We can then confirm duration of work (we reckon 2-3 hours) and related rates. If you then want to proceed just let us know.

Kind regards

Jacob

Mon 17 May 2010: Automatically marked as resolved.


 

Excel tip:

Use shortcut keys to select rows or columns

Most users use the mouse to select rows or columns. It may be more convenient to use keyboard shortcuts to do that.

The shortcut key combination to select an entire row is Shift+Spacebar.

The shortcut key combination to select an entire column is Ctrl+Spacebar.

These are pretty easy to remember as the spacebar looks like a long row (or column if you're looking at it sideways). Remember that Ctrl, beginning with C, selects columns and Shift, by a process of elimination, the rows.

View all Excel hints and tips


Server loaded in 0.07 secs.