LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Using VB instead of excel formulas

I have a spreadsheet that uses excel formulas to collect and count data for a
report. The formulas I have used make the project complex and makes for a
very large file.

Formula 1
=IF(F12C12,IF(F12=REPORT!A20,'SHEET 2'!E12,0),IF(C12=REPORT!A20,'SHEET
2'!E12,0))
This is to compare entry date between worksheet and report and select entry
if dates match
Formula 2
=COUNTIF(BL12:BL2000,"Y")
This is to count the number of matching entries
Formula 3
='SHEET 2'!BL7
This to transfer the result to the report
Formula 4
=Sum(AG5:AG2000)
This is to add the transferred figures
Formula 5
=AG2
This places that figure in the correct position

As you can see this is very cumbersome. Could anyone help me with some code
please?
I have asked before and it was suggested to me to either use Access or to
record a macro so I can view the resultant code. Unfortunately Access isn't
an option and I tried a macro and it only serves to confuse me as it seems to
change the coordinates of the cells.
Any suggestions would be greatly appreciated even if its just a matter of a
shorter way of writing excel formulas as at the moment I have a formula for
each row!

Thanks for your help in advance

John D
 
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
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
ms-excel guidence notes, complete formulas in excel, How to runmacros in Ms excel [email protected] Excel Discussion (Misc queries) 0 June 14th 08 03:19 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
AdvancedFilter on cells with formulas, returning values and not formulas Claus[_3_] Excel Programming 2 September 7th 05 02:40 PM
Excel recalculates formulas when opening files last saved by an earlier version of Excel Jim Rech Excel Programming 0 April 7th 04 06:47 PM


All times are GMT +1. The time now is 06:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"