+ Reply to Thread
Results 1 to 3 of 3

(Solved) Looking to replace numbers >0 with a 1 in a large spreadsheet

  1. #1
    Registered User
    Join Date
    05-02-2014
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    (Solved) Looking to replace numbers >0 with a 1 in a large spreadsheet

    Hello,

    I have a large spread sheet (A2:CB656). I have already created a pivot table with my columns representing "species" and rows representing "site location". This table has been completed but I am now wanting to look at presence/absence for each species at a given site. I am wanting to take the cells with numbers ">0" and replacing it with a "1". Any suggestions?

    Thanks
    Last edited by hway; 05-02-2014 at 09:49 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Looking to replace numbers >0 with a 1 in a large spreadsheet

    I suspect that you are wanting a count of species. If that is correct then consider using the Countif or Countifs function within Excel.

    Look at these two links for a quick tutorial on both these functions.

    http://www.techonthenet.com/excel/formulas/countif.php

    http://www.techonthenet.com/excel/formulas/countifs.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-02-2014
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Looking to replace numbers >0 with a 1 in a large spreadsheet

    @alansidman

    Yes,

    for example my table now looks like:

    site fish1 fish2
    123 0 2
    124 3 0
    125 0 10

    I would like it to look like this...

    site fish1 fish2
    123 0 1
    124 1 0
    125 0 1


    Does this make my objective a little easier to understand?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find duplicate numbers in large Excel Spreadsheet
    By Table in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  2. Find duplicate numbers in large Excel Spreadsheet
    By Table in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  3. [SOLVED] Find duplicate numbers in large Excel Spreadsheet
    By Table in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  4. Find duplicate numbers in large Excel Spreadsheet
    By Table in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. Find duplicate numbers in large Excel Spreadsheet
    By Table in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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