+ Reply to Thread
Results 1 to 5 of 5

Excel Linking

Hybrid View

  1. #1
    Registered User
    Join Date
    08-10-2007
    Posts
    12

    Excel Linking

    1. I know how to link stylesheets. (as in having a source and a dependant page) However, I assume that if I send the dependant page (which in my case is linked to tons of sources) by email, it wont display correctly. How can I make the dependent page actually save the values of the sources so that when I send it, it will display.


    2. Back to the source page. I have 3 columns. Country, City, and Week. How do I tell the source page to have a cell where it makes the 2 following calculations. 1. COUNT all DIFFERENT countries visited in WEEK 1. and 2. Count the number of ALL (not different) cities visited in WEEK 1.

    3. If I decide to put both results in the same cell, How do I give each value in the cell (ie. each result fo the formulae a different highlighting.

    4. Lastly, lets say my two results from question 2. are 3 (different countries) and 6 (cities). Remember they appear in one cell. How would I tell the dependant sheet to seperate them into two columns .... automatically

    tia

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Could you please paste a sample of your data, it would be much easier for us to help.
    Thx

  3. #3
    Registered User
    Join Date
    08-10-2007
    Posts
    12

    Question

    sure.
    A1- Column1 (Countries)
    
    A2- USA
    
    A3- USA
    
    A4- RUSSIA
    
    A5- MEXICO
    
    A6- Mexico
    A7- AUSTRALIA
    
    B1 Column2 (Cities)
    
    B2- Los Angeles
    
    B3- New York
    
    B4- Moscow
    
    B5- Mexico City
    
    B6- Cuernavaca
    
    B7- Sydney
    
    C1- Column3- (Week Number)
    
    C2- 1
    
    C3-1
    
    C4- 2
    
    C5-3
    
    C6- 4
    
    C7- 4
    --1. The list is ordered by country (unlike the example).

    --2. I would like to do two operations with this data

    --a--. COUNT the number of different countries visited in a certain week. For example, week 1 would be 1 since I visited New York and Los Angeles which are both in one country.

    --b-- COUNT the number of cities visited in a certain week. For example, week 1 would be 2 since (see above, I visited 2 cities in the US.) However, if I visit the same city twice in the same week, I want to count BOTH times

    --3. I would like to display both results (in this case 1 and 2) in the same cell (I know how to do this already). However, I would like each result to be highlighted in a different color. SO for example, cell D1 would read "1 - 2" with "1" being highlighted one color and "2" another.

    --4. I would like to have a dependant worksheet which would display the results also. However, contrary to the first worksheet, where the results are displayed in the same cell (so that I wont have to make another column), I want them to display in two different cells in the dependant worksheet. For example, in the dependant worksheet, B1 would be "1" and C1 would be "2".

    --5. Finally, I am sure that if I email ONLY the dependant worksheet, all values would be lost since the source is gone. I would like to know how to SAVE the values in the dependant worksheet so that if I only email it (without the source), it will still display the values.

    THX IN ADVANCE
    Last edited by mgkmn; 08-13-2007 at 09:46 PM.

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Quote Originally Posted by mgkmn
    sure.
    A1- Column1 (Countries)
    
    A2- USA
    
    A3- USA
    
    A4- RUSSIA
    
    A5- MEXICO
    
    A6- Mexico
    A7- AUSTRALIA
    
    B1 Column2 (Cities)
    
    B2- Los Angeles
    
    B3- New York
    
    B4- Moscow
    
    B5- Mexico City
    
    B6- Cuernavaca
    
    B7- Sydney
    
    C1- Column3- (Week Number)
    
    C2- 1
    
    C3-1
    
    C4- 2
    
    C5-3
    
    C6- 4
    
    C7- 4
    --1. The list is ordered by country (unlike the example).

    --2. I would like to do two operations with this data

    --a--. COUNT the number of different countries visited in a certain week. For example, week 1 would be 1 since I visited New York and Los Angeles which are both in one country.

    --b-- COUNT the number of cities visited in a certain week. For example, week 1 would be 2 since (see above, I visited 2 cities in the US.) However, if I visit the same city twice in the same week, I want to count BOTH times

    --3. I would like to display both results (in this case 1 and 2) in the same cell (I know how to do this already). However, I would like each result to be highlighted in a different color. SO for example, cell D1 would read "1 - 2" with "1" being highlighted one color and "2" another.

    --4. I would like to have a dependant worksheet which would display the results also. However, contrary to the first worksheet, where the results are displayed in the same cell (so that I wont have to make another column), I want them to display in two different cells in the dependant worksheet. For example, in the dependant worksheet, B1 would be "1" and C1 would be "2".

    --5. Finally, I am sure that if I email ONLY the dependant worksheet, all values would be lost since the source is gone. I would like to know how to SAVE the values in the dependant worksheet so that if I only email it (without the source), it will still display the values.

    THX IN ADVANCE
    Starting with the bad news:
    --3 is not possible you can't have different colours in the same cell ( as far as I know)

    --2use follwing formula
    =sumproduct(--(a2:a10="country"),--(c2:c10=week))
    =sumproduct(--(b2:b10="city"),--(c2:c10=week))


    --4put the above forulae were you want, so in deifferent cells will be OK

    --5You can use Copy - Paste Special - Values to copy values only to a sheet
    Last edited by arthurbr; 08-14-2007 at 02:29 AM.

  5. #5
    Registered User
    Join Date
    08-10-2007
    Posts
    12
    thanks a lot!

    Only one question. For the two forumlas, the COUNTs, they look very similar. Remember, the main difference is that the one for cities counts ALL cities visited but the one for countries ONLY COUNTS DIFFERENT COUNTRIES

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1