Hi Dave,
Thanks for an excellent solution, both option work perfectly; however, I am somewhat partial to eth code version than the formula version. At this stage the SUMPRODUCT works well. I am actually changing an existing solution I created as business requirements have changed. I would like to upload the spreadhseet; however, it contains sensitive organisational data that I can not release.
The SUMPRODUCT formula is used to populate cells G2 to J2 then is autofilled down to the last row so that it counts the number of organisation positions (unique by RC1 to RC6). The data is then copied and pasted in place to avoid continued calulations. Is there a better way to achived this via code ? If so, let me know and I will ask another Q.
Kev
Main Topics
Browse All Topics





by: brettdjPosted on 2009-07-03 at 20:46:04ID: 24775655
Hi Kev,
,LEFT(F1,3 )="DV-"),R IGHT(F1,LE N(F1)-3),F 1)
To run an insitu replacement on all cells in column F you could try ths code to remove any "BV-" or "DV-" prefixes
If you wanted to use a formula to evaluiate a result then copy back over into column F you could use
=IF(OR(LEFT(F1,3)="BV-"
to remove and prefixes from F1
Di you need help with the SUMPRODUCT part as well, if so it would be good to see your workbook so we can see how you are applying it
Cheers
Dave
Select allOpen in new window