Anmol Singh
New Member
- Joined
- Oct 7, 2014
- Messages
- 2
I have data in 2 sheets.
Sheet 1 is input sheet in which i have 7 Columns of data from a database running into 5lac rows. Column H, I, J have formulas as follows: Col H =IF(C4=Sheet2!$E$2,1,0), Col I =IF(H4=1,B4,0), Col J =IFERROR(IF(VLOOKUP(B4,I:I,1,0)<>0,1,0),0). Sheet2!$E$2 is the main input cell
Sheet 2 is output sheet with following formula =COUNTIFS(Sheet1!$J:$J,1,Sheet1!$C:$C,B6)
Aim is to build a good macro that reduces processing time. Currently processing takes 5 min
Sheet 1 is input sheet in which i have 7 Columns of data from a database running into 5lac rows. Column H, I, J have formulas as follows: Col H =IF(C4=Sheet2!$E$2,1,0), Col I =IF(H4=1,B4,0), Col J =IFERROR(IF(VLOOKUP(B4,I:I,1,0)<>0,1,0),0). Sheet2!$E$2 is the main input cell
Sheet 2 is output sheet with following formula =COUNTIFS(Sheet1!$J:$J,1,Sheet1!$C:$C,B6)
Aim is to build a good macro that reduces processing time. Currently processing takes 5 min