locked
VBA code for find text and replace its value RRS feed

  • Question

  • Assume below data present in worksheet 

     Value    Unit   ---> These two are my column in worksheet at any postion

     NA       KLOC                            after running vba my data will look like ---->     Value         Unit

    0.98     kLOC                                                                                                     NA          KLOC , FP

    0.9       OTH                                                                                             0.9*8= 7.2        LOC/PD

    03        FP                                                                                                0.3*8 =2.4        FP/PD

    NA       FP

    If unit column contain  KLOC,   FP then I rename this as KLOC =LOC/PD and FP=FP/PD and theire new value= value *0.8

    For NA value don't  change anything

    • Moved by litdev Saturday, February 17, 2018 2:04 PM
    Friday, February 16, 2018 8:29 AM

Answers

All replies