Website Upgrade Incoming - we're working on a new look (and speed!) standby while we finalise the project

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

Display a single resource in column on Bar Chart layout

5 replies [Last post]
Safak Vural
User offline. Last seen 4 years 23 weeks ago. Offline
Joined: 12 May 2008
Posts: 117
Dear all,

I want to show only one resource from variety loaded for activity with target and variance on Bar Chart view as columns. The "Budgeted Quantity" shows sum of them normaly and when I organize as Resource I can get a "Budgeted Quantity" as I want but there X times the activities as X resources. This has a bad look. If there are any way to do it in a different way I would appretiate it.

Thanks&Regards all,

Safak Vural

Replies

A D
User offline. Last seen 4 years 1 week ago. Offline
Joined: 20 May 2007
Posts: 1027
Hi Sitaram,

There are VLOOKUP and HLOOKUP.

Its easy and can be searched in excel help.

Here’s a gist from MS Excel help.

VLOOKUP

Searches for a value in the first column of a table array and returns a value in the same row from another column in the table array.

The V in VLOOKUP stands for vertical. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data that you want to find.

Syntax VLOOKUP lookup_value,table_array,col_index_num,range_lookup)

Lookup_value: The value to search in the first column of the table array (array: Used to build single formulas that produce multiple results or that operate on a group of arguments that are arranged in rows and columns. An array range shares a common formula; an array constant is a group of constants used as an argument.).

Lookup_value can be a value or a reference. If lookup_value is smaller than the smallest value in the first column of table_array, VLOOKUP returns the #N/A error value.

Table_array: Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table_array are the values searched by lookup_value. These values can be text, numbers, or logical values. Uppercase and lowercase text are equivalent.

Col_index_num: The column number in table_array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on. If col_index_num is:

- Less than 1, VLOOKUP returns the #VALUE! error value.
- Greater than the number of columns in table_array, VLOOKUP returns the #REF! error value.

Range_lookup: A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match:

- If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned.
The values in the first column of table_array must be placed in ascending sort order; otherwise, VLOOKUP may not give the correct value. For more information, see Sort data.

- If FALSE, VLOOKUP will only find an exact match. In this case, the values in the first column of table_array do not need to be sorted. If there are two or more values in the first column of table_array that match the lookup_value, the first value found is used. If an exact match is not found, the error value #N/A is returned.

Remarks:

When searching text values in the first column of table_array, ensure that the data in the first column of table_array does not have leading spaces, trailing spaces, inconsistent use of straight ( ’ or " ) and curly ( ‘ or “) quotation marks, or nonprinting characters. In these cases, VLOOKUP may give an incorrect or unexpected value. For more information, see CLEAN and TRIM. When searching number or date values, ensure that the data in the first column of table_array is not stored as text values. In this case, VLOOKUP may give an incorrect or unexpected value. For more information, see Convert numbers stored as text to numbers.

If range_lookup is FALSE and lookup_value is text, then you can use the wildcard characters, question mark (?) and asterisk (*), in lookup_value. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character.

Sitaram Sakamuri
User offline. Last seen 4 years 39 weeks ago. Offline
Joined: 27 Sep 2006
Posts: 30
Groups: None
Hai Prem

Where is vlookup function in excel. Can you explain more

regards
sitaram
sitaram_75@yahoo.com
Safak Vural
User offline. Last seen 4 years 23 weeks ago. Offline
Joined: 12 May 2008
Posts: 117
Thanks both of you.
Zubair Usmani
User offline. Last seen 13 years 32 weeks ago. Offline
Joined: 5 Jun 2005
Posts: 22
Groups: GPC Qatar
well you should go for global change.
create first a field in custom data item.
then write in global change
if..... resourcse equal = select the concern resource
then....custom data item=budget qty

run the global change..u will find the budget qty of concern resourse only has been assigned to the custom data item.display the custom data item on barchart..
prem kumar,
User offline. Last seen 13 years 18 weeks ago. Offline
Joined: 9 Mar 2005
Posts: 14
Groups: GPC Qatar
hi

U can use the Vlookup function in excel to do it.

steps
1. export all resource as stated in the question
2. sort the sheet based on the resource name field.
3. give the names for the group of rows pertaining to each resource
4.export only the activity id and descrition in a different sheet
5.type in the resource name in subsequent colums
6.use vlookup using the names created in step 3

hope now you got it

still trouble let me know

regards

prem