• 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 all,
Please, how do you can add column % DEV and compare the two bills and show semaphore .

for example

upload_2014-9-20_12-21-5.png

regards,
 

Attachments

  • example_model.xlsm
    215.6 KB · Views: 6
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

  • example_model.xlsm
    210.4 KB · Views: 3
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

  • example_model _1.xlsm
    212.8 KB · Views: 1
Hi ,

I am not sure I understand what you want. Can you see this file and comment ?

Narayan
 

Attachments

  • example_model _1.xlsm
    209.9 KB · Views: 6
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