+ Reply to Thread
Results 1 to 7 of 7

Adding zeros when not found

Hybrid View

  1. #1
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Adding zeros when not found

    Hello everyone!
    I am working with some bird survey data (see attached document). I did about 800 surveys at some 80 locations. I want to analyze the data, but I have an issue I am hoping someone can help me with.

    See document attached: I didn't survey every place every day, but I want to know what species I DIDN'T see at locations on days that I did surveys. The way the data is structured, I recorded only the number of individuals of species detected, what I need is 0's for all the species I DIDN'T see. For example, I did a survey at location 33 on 5/15/11 and found a bunch of species, but I didn't see an AMRO (American Robin) - in my pivot table I want it to show that I found 0 AMRO individuals (& show 0's for all the other species I didn't find). Basically, I want the pivot table to show me a 0 for all species I DIDN'T see when I did do a survey at a specific location on a specific date. Make sense? Happy to clarify if not. I would be very grateful for your help. I need the data in this format for my analyses.

    The only solution I have thought of is to copy all the sp. names for each combination of location and date (800+!) and then put the number found 0, this would work but it would take a long long time, I am hoping someone is much more clever than me and is willing to help me out! Thanks!

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Adding zeros when not found

    Your file didn't upload. Perhaps you should try again.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Adding zeros when not found

    Thanks - here it is again, hopefully this time it will work!
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Adding zeros when not found

    Right click from Pivot, select PivotTable Options in the Layout & Format section tick For empty cells show enter 0 right side box.

    So many zeros are not good for a good visibility, try to use a custom format in PT like,

    0;-0;"-"
    Last edited by Haseeb Avarakkan; 11-29-2011 at 10:37 PM.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Adding zeros when not found

    Thanks, but I am afraid that doesn't work. I want the pivot table to show me a 0 for all species I DIDN'T see when I DID a survey at a specific location on a specific date. If I just fill the tables with 0's it will show 0's on dates that I didn't do surveys. Do you follow?

  6. #6
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Adding zeros when not found

    anybody have any ideas here?

  7. #7
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Adding zeros when not found

    BUMP.... I'd REALLY appreciate some help here

+ 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