Solved

Math Final

Posted on 2014-01-13
3
218 Views
Last Modified: 2014-02-02
Hi Expert need not to hard coded formula in code, but Code copy formula from sheet Cell H2 & I2 for Gap & Hit Respectively.

So just in future if I need to change formula better to be in change in cell rather then code.


Thanks
Maths-Final.xlsm
0
Comment
Question by:itjockey
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 39778395
Ok i've modified the macro again, specifically the WriteFormulas sub.  The old one is still there but not used and is now called WriteFormulas1

The WriteFormulas sub now copies the formulas in H1 and I1 to the cells below as required, rather than being hard coded.

I also modified your formulas by wrapping the formula in IFERROR() so that they could be copied to the below cells without error.  If I hadn't done that the formula errors as it references labels at the top of the sheet and the error continues down to the other cells below.
Maths-Final.xlsm
0
 
LVL 8

Author Closing Comment

by:itjockey
ID: 39778408
Thanks
0
 
LVL 8

Author Comment

by:itjockey
ID: 39828297
Sir Rob (tagit),

I am about to posting question in 15 min if you are looking in to, question is related to this process, that is why I am approaching you 1st. there is series of 3 question. Source data, Process & location.


Thank You
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now