In the file I have a filter I use in a different system. Is there a way to convert my filter into a formula in excel to get the same result? The Data will always be located in the same cells for my reports.
Thanks,
Mckoy
In the file I have a filter I use in a different system. Is there a way to convert my filter into a formula in excel to get the same result? The Data will always be located in the same cells for my reports.
Thanks,
Mckoy
Hi,
Try this
=SUMPRODUCT(--(UPPER(LEFT($C$3:$C$200,1))>="L")*(--(UPPER(LEFT($C$3:$C$200,1))<="Z")*(--($G$3:$G$200>=D16)*(--($G$3:$G$200<=D17)*(--(K3:K200))))))
D16 = start date
D17= End Date
VBA Noob
Thanks, this works great. However, when I linked that same formula to another workbook I get an incorrect amount.
Last edited by mckoy_1; 11-03-2006 at 03:40 PM.
Can you post the sheet ??
VBA Noob
...I must be doing something wrong. I have attached two workbooks...Data and Formula.
I basically added more rows to the formula...added 5000 rows to be exact.
here we go!
Last edited by mckoy_1; 11-03-2006 at 04:29 PM.
Can you post the modified formula
VBA Noob
Sorry for some reason the formula sheet was too big, So I had to delete the formula.
Hi,
Try this example
http://cjoint.com/?ldvNkURzxG
VBA Noob
It works perfectly but I need to have this formula on a separate workbook. You see the Data will be exported from another source. I would like to link-update each time I open the formula workbook.
Hi,
You just need to add the name of the workbook + tab e.g
=SUMPRODUCT(--(UPPER(LEFT([DataB.xls]Data!$C$3:$C$5000,1))>="L")*(--(UPPER(LEFT([DataB.xls]Data!$C$3:$C$5000,1))<="Z")*(--([DataB.xls]Data!$G$3:$G$5000>=C9)*(--([DataB.xls]Data!$G$3:$G$5000<=D9)*(--([DataB.xls]Data!$K$3:$K$5000))))))
C9 and D9 hold the dates
VBA Noob
Got It! Really do appreciated.
No Problem
VBA Noob
i got another problem...with same structure. I would like to change the alpha. For example: i have now on the previous sheet.... A - K and would to change to A - Gk....i tried changing the formula but I dont get the correct figure. Any help.
Any help would really be appreciated.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks