Computing.Net > Forums > Office Software > Assign text value (%), Chart output

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Assign text value (%), Chart output

Reply to Message Icon

Name: RenKemp
Date: July 2, 2009 at 07:53:44 Pacific
OS: Windows XP
Subcategory: Microsoft Office
Comment:

I have a 10 step process for creating classes (10 columns). As each step is completed, an "X" is placed in the spreadsheet cell. How do I assign a 10% value to the "X" in the cell in the spreadsheet so that the chart displays the correct percentage complete? Ex. If 5 Xs are entered in the first 5 columns, the chart would display 50% (of 100%) is complete.

FYI...I was able to get this to work without a formula by entering 10% in each cell in the correct column, but I was asked to assign a value to text ( an "X") so the users wouldn't have to enter "10%" in each cell. They would only have to enter an "X" in the cell.



Sponsored Link
Ads by Google

Response Number 1
Name: Mike (by mmcconaghy)
Date: July 2, 2009 at 08:33:22 Pacific
Reply:

Column A Cells 1 thru 10 can be marked with your X

In Cell A11 format the cell as percentage ( % )
put the formula:

=COUNTIF(A1:A10,"x")/10

MIKE

http://www.skeptic.com/


0

Response Number 2
Name: DerbyDad03
Date: July 2, 2009 at 08:33:46 Pacific
Reply:

Let's say your X's are going in A1:J1. Use this formula in a cell someplace and then graph that cell:

=COUNTIF(A1:J1,"X")/10

I know that you can assign a Name to a formula, such as

PercentComplete refers to:

=COUNTIF(Sheet1!$A$1:$J$1,"X")/10

but I haven't been able to use that Defined Name as the data source for the chart. If that can be done, then you wouldn't need to put that formula in a cell...you could graph it directly from the Defined Name.

Let me ask around...


0

Response Number 3
Name: DerbyDad03
Date: July 2, 2009 at 10:26:53 Pacific
Reply:

Got it!

Insert...Name...Define

Names in workbook: PercentComplete
Refers to: =COUNTIF(Sheet1!$A$1:$J$1,"X")/10

Start the Chart Wizard
Select your chart type, click Next
Click the Series tab
Click the Add button
In the Values field enter:

=WorkbookName.xls!PercentComplete

Format the rest of the chart options as you like
Click Finish

Note: You must include the Workbook Name in the Values field or you will get an error.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Assign text value (%), Chart output

Excel formula comparing text values www.computing.net/answers/office/excel-formula-comparing-text-values/5651.html

Comparing text values in excel and www.computing.net/answers/office/comparing-text-values-in-excel-and-/7824.html

assign number value to text Excel www.computing.net/answers/office/assign-number-value-to-text-excel/2073.html