Dear Vletm & Marc L
Both of your solutions are working well and good. I will implement this to my original file and I will contact you here If I am struck with the modifications.
Thanks a ton for your valuable and prompt support.
Hi
In the attached excel file have 3 worksheets called Permanent Formulas and the Temporary Formulas which are the source data and Master Data which is input data.
In the Sheet Master Data Range A9: B12 is the input data. With this input data, it has to find the appropriate formulas from both...
Hi
I have added two codes here. The code1 is working well, But when I add the code1 into code2 it is showing type mismatch error in Line 92.
Please check the code and give me a solution.
https://www.dropbox.com/s/n8qtozpmue5eox0/VBA.xlsm?dl=0
Code1
Sub indexmatch()
Dim colu As Range...
Dear All
I need your valuable support, Almost I finished my code and struck with the last one thing as below
the highlighted code line is taking i = 85 to 136 column number in both sheets.
How do I write the code For i = 85 to 136 in Sheets("Master Data") and For i = 2 to 53 in sheets("RM...
Sorry, I don't know further how to multiply the intersect values and where the object A is filled.
if your time permits please guide me to get the solutions.
Dear Marc L
After finding the date in column A, Can we use
Set B2I15= Intersect(Columns("B:I"), A.EntireRow)
The below code is for sumproduct formulas results by pure VBA code for your information.
The sum-product formula is...
Dear Marc L
Thanks for your reply
Check the attachment for your study. it is not giving proper results in the cell D10
Also, the code has an application function of sumproduct which I do not require.
I want the code without using the sumproduct index and match functions.
I hope you can...
Dear GraH Guido
Thanks a lot for your reply with the solution.
As I want to learn the VBA Code writing,
Can we write the code without using application functions like index and match? Because I want to write the working pure VBA code without using any of the functions as an index match...
I would like to convert my daily working sheet from normal excel formulas to VBA code as I want to write and learn the working VBA code.
I am just beginner in the VBA code writing. Your help will be very grateful for me.
Thanks in advance.
Hi
I need a VBA code to get the below results.
In the attached workbook
Sheet1, Cell D9 is the given date and the cell B12: H12 is the data range
Sheet2 A2: A15 is the list of dates where we need to lookup by VBA code
In the list of dates in Sheet2, none is matching Sheet1, D9 dates of...
Dear All
Just check the below link sheet where I got all the results except when I select E6 (Raw materials Stock Value) value in the cell P1 dropdown list, as its required VBA code for index match formula.
below code is for your information and help me with the code between Line 109 to Line...
Dear p45cal
Really thanks a lot for your codes and the explanation.
It is working and given the desired results well.
Firstly, I know the macro recording in a simple way like, make borders and change the colours and get the prints.
Indeed I do not know how the R1C1 code be recorded by the...
Dear Vletm
I did not change the case.
I just want to write the VBA code and get the results which those formulas do in the cell EL1. That's all I want.
Sorry If I conveyed my requirements in the wrong way in my previous posts.
Anyway, Really thanks a lot for all your support and times...
Dear p45cal
Thanks a lot for your prompt reply and the time you have spent for my query.
Your given solution is excellent and it is met my expectations.
However, I am requesting you that can we write some VBA code to get the results in only the cell EL1?
My intention is to learn how to...
Dear All
The excel formula is in the cell EL1 and it gives the results depends on cell P1 dropdown list selection. Check the new attached sheet here.
When I select Cell EL1 it is showing this big formula and I want to hide without losing the output results. Then I choose to write a VBA code...
Dear Alan
If you did not understand my English then leave it. let others reply to me with the solution who can understand. I am not here to learn English.
Hi
The below formula I tried to convert VBA code but I struck how I can tell VBA that between two dates and only in sales data to be extracted.
IF(P1=EN2,(SUMPRODUCT((J8:J30495<=EN1)*(J8:J30495>=EO1)*(G8:G30495="Sales")*CF8:CF30495))
Cell J8: J30495 is sales date
Cell G8: G30495 is having...
Hi Vletm
Thanks for your valuable reply.
I just change the Product 1 formulation on 6-Jun-17. So, up to 05-Jun-17, it should take old formulation. From 06-Jun-17 onwards the new change to be taken until further change takes place. But, it is not taking correctly,
I think a small fine tune...