Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default vba or formula help?

Hello

I have the following data
Année V1 V2 V3 National
1992 14805 100
1993 16521 2640 120
1994 17839 2142 117
1995 19878 1236 1207 136
1996 12456 1024 140
1997 14526 1563 1274 152

I want to calculate an "'indice" with vba or a formula

example: to obtain these news values

Année V1
1992 (14805 *100)/14805
1993 (16521*100)/14805
1994 17839 *100)/14805
1995 19878 *100)/14805
1996 12456 *100)/14805
1997 14526 *100)/14805

Année V2 V3
National
1992
100
1993 (2640*120)/2640 120
1994 (2142*117)/2142 117
1995 (1236*117)/2142 (1207*120)/2640 136
1996 (1024 *117)/2142 140
1997 (1563 *117)/2142 (1274*120)/2640 152




How do?
Excel version xp/2003

Mike
Excuse my english



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default vba or formula help?

Hi Mike;

I am writing asuming that V1, V2 & V3 are in seperate
columns A, B & C. I am also asuming the activecell is in
column D.

On way to do it in VBA is

Activecell = Activecell.Offset(0,-3)*100/Activecell.Offset
(0,-2)

I hope that helps

-----Original Message-----
Hello

I have the following data
Année V1 V2 V3

National
1992

14805 100
1993 16521

2640 120
1994 17839

2142 117
1995 19878 1236 1207

136
1996 12456

1024 140
1997 14526 1563 1274

152

I want to calculate an "'indice" with vba or a formula

example: to obtain these news values

Année V1
1992 (14805 *100)/14805
1993 (16521*100)/14805
1994 17839 *100)/14805
1995 19878 *100)/14805
1996 12456 *100)/14805
1997 14526 *100)/14805

Année V2 V3
National
1992
100
1993

(2640*120)/2640 120
1994

(2142*117)/2142
117
1995 (1236*117)/2142

(1207*120)/2640 136
1996 (1024

*117)/2142 140
1997 (1563 *117)/2142

(1274*120)/2640 152




How do?
Excel version xp/2003

Mike
Excuse my english



.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default vba or formula help?

Again? What is the matter?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Mike Perchoir" wrote in message
...
Hello

I have the following data
Année V1 V2 V3 National
1992 14805 100
1993 16521 2640 120
1994 17839 2142 117
1995 19878 1236 1207 136
1996 12456 1024 140
1997 14526 1563 1274 152

I want to calculate an "'indice" with vba or a formula

example: to obtain these news values

Année V1
1992 (14805 *100)/14805
1993 (16521*100)/14805
1994 17839 *100)/14805
1995 19878 *100)/14805
1996 12456 *100)/14805
1997 14526 *100)/14805

Année V2 V3
National
1992
100
1993 (2640*120)/2640 120
1994 (2142*117)/2142 117
1995 (1236*117)/2142 (1207*120)/2640 136
1996 (1024 *117)/2142 140
1997 (1563 *117)/2142 (1274*120)/2640 152




How do?
Excel version xp/2003

Mike
Excuse my english





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 05:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"