• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

how do yo can add colum %desv and show semaphore with macros

Hi ,

First , I do not know why you want a calculated field to be inserted using VBA ; you can easily insert the formulae , and since the number of columns is fixed , you can always have these 2 columns on the extreme right , so that even if the data changes , these 2 columns will never be affected.

Secondly , I have no idea how you want the icons to operate , but you can see that using Percent and using Number gives different results ; you need to decide which you want.

Narayan
 

Attachments

hi @NARAYANK991,

the idea is to compare the bill October to September
for example
compare k12 - k27 =% Desv. (L12) = -3.37
compare k13 - k28 =% Desv. (L13) =-1.25
compare k14 - K29 =% Desv. (L14) =-1.97
compare k15 - k30 =% Desv. (L15) =-6.96
..
...
...

for example :put in range k12 semaphore red this is menor , and range k27 semaphore green this is major etc.
upload_2014-9-22_9-29-13.png
 

Attachments

double click at agencia 1 , agencia 2, agencia 3 add and calculate automatic the column % desv. with its own semaphore.

regards
 
Last edited:
Back
Top