Formula Help

  • Thread starter Thread starter Pat
  • Start date Start date
P

Pat

Hey,

I am trying to create a formula that will allow me to sub in veriables into
a given equetion without solving for it. So in other words something like
this...
lets say
a=1
b=2
c=3

in one cell ill have
(a+b)*c

in the next cell ill have
(1+2)*3

and in the last cell ill actually solve it
9

that second step is giving me problems.

please help
 
Do you want a solution for this particular case or for any formula?
You can perhaps build a formula but it will be too complex.

Using VBA will be easier.

In this particular case use;
="("&A1&"+"&A2&")*"&A3
to see
(1+2)*3

1,2 and 3 will change according to what is in A1,A2 and A3...
 
Well this formula is just an example it would have to work for many different
formulas but not really complex ones. I’m not really familiar with VBA could
you possibly point me to a good web site on VBA.
 
i tried your method and I got half way there the getformula fuction did work
but it gave me =(A1+B1)*C1. now how do i get it to sub in those numbers. ill
keep on messing around with it but any sugestions would be great
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Copy cells from one worksheet to another workseet - increment row & do again 0
LOOKUP function?? 4
Excel VBA 1
data validation list 17
warning message 2
Reference Formula Help 1
help ... 4
Back in work today 6

Back
Top