Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Creating % formula help for log file.

Hi

What i would like to do is to add entries to a log file on a daily
basis. At the end of each entry put one of four main reason codes for
the error. At the bottom of the worksheet list the error codes A - D
and beside each one have a percentage of each of the errors. I know it
sounds confusing so i have included a screen shot of what i mean.

For sample purposes i made it easy by having the percentages as 25%
each. If "A" had 10 entries "B" had 14 and so on how can i create a
formula to reflect that at the bottom of the worksheet.

thanks



http://i117.photobucket.com/albums/o...bware/asas.jpg

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Creating % formula help for log file.

Try this:

A12:A15 = error code description

=IF(COUNTA(D$1:D$10),COUNTIF(D$1:D$10,LEFT(A12))/COUNTA(D$1:D$10),"")

Copy down as needed and format as %

Biff

"Zilla" wrote in message
oups.com...
Hi

What i would like to do is to add entries to a log file on a daily
basis. At the end of each entry put one of four main reason codes for
the error. At the bottom of the worksheet list the error codes A - D
and beside each one have a percentage of each of the errors. I know it
sounds confusing so i have included a screen shot of what i mean.

For sample purposes i made it easy by having the percentages as 25%
each. If "A" had 10 entries "B" had 14 and so on how can i create a
formula to reflect that at the bottom of the worksheet.

thanks



http://i117.photobucket.com/albums/o...bware/asas.jpg



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
Weird File Open/Save As Behavior [email protected] Excel Discussion (Misc queries) 0 December 9th 05 02:26 AM
Filling Text from Another File lost in charts Excel Worksheet Functions 6 December 2nd 05 07:46 PM
quick way to copy-paste a formula linked to cells in another file iniakupake Excel Worksheet Functions 2 September 26th 05 03:56 AM
how to reference external refereces from a list FalconArt Excel Worksheet Functions 7 August 22nd 05 05:17 PM
Creating a PDF file programatically from Excel Chaplain Doug Excel Discussion (Misc queries) 0 December 16th 04 08:49 PM


All times are GMT +1. The time now is 10:44 PM.

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"