+ Reply to Thread
Results 1 to 9 of 9

How to sync between two columns and present the number of times value appears on the colum

  1. #1
    Registered User
    Join Date
    01-23-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    7

    How to sync between two columns and present the number of times value appears on the colum

    Dear Pros, I would appreciate your assistance in finding the right formula.

    Ok, the topic might be hard to understand but i'll try to do it as easy as possible ( I have attached the file) .
    I have a list of codes on a-d , everytime I go to my storage I am scanning with my phone all the barcodes of the new items that arrived to the storage.
    I export the scanned barcodes from my phone to excel and copy the column of the codes to my main list (column G) .
    How do I add up the scanned codes from G to column E of Total items? ( i believe I need to add a combination of vlookup and sum but I have no idea how) .
    8WrY2aK.jpg
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,757

    Re: How to sync between two columns and present the number of times value appears on the c

    you can use a countif() to count the number of items in column C that match column G
    =COUNTIF(C:C,G3)

    but i'm not sure thats what you are after
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    01-23-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to sync between two columns and present the number of times value appears on the c

    I don't think so ,
    I want it to browse the all G column (because the code will appear more than once since there's more than 1 items with the same code) .
    EDIT:
    I have found out why the countif didn't work , when I pulled down the cell to copy to the rest of the cells it was adding a number for the G3 to G4, G5 and so on .
    How do I copy the formula to all the other cells with keeping the range (G2-G1000) ?
    Last edited by adz123; 01-23-2016 at 06:29 PM.

  4. #4
    Registered User
    Join Date
    01-23-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to sync between two columns and present the number of times value appears on the c

    Ok, I found the solution by adding to the COUNTIF range the $ sign to keep the same range.
    My question is , how can I keep the value if I wanna delete the SCAN BARCODE column and on the next time to add another list of scanned barcodes to the total that I had before .

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,757

    Re: How to sync between two columns and present the number of times value appears on the c

    not sure how you have modified the code now
    post the equation please

  6. #6
    Registered User
    Join Date
    01-23-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to sync between two columns and present the number of times value appears on the c

    =countif($o$2:$o$200;i2)
    Attached Images Attached Images

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,757

    Re: How to sync between two columns and present the number of times value appears on the c

    OK
    or you could use
    =countif(o:o;i2)

    then the range will not matter when you put the new values into the sheet column I

  8. #8
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: How to sync between two columns and present the number of times value appears on the c

    Based on the information supplied:-
    1. There are no duplicates in column B
    2. There are no duplicates in column C
    3. There are no duplicates in column D
    4. There are a number of duplicates in column G

    Of the 11 barcodes in column G :-
    3 are already in columns B and C (and have unique item codes)
    11 are not in columns B or C (and do not have unique item codes)

    Do these 11 need to be added to columns B and C in order to have a correct count in column E?

    See attached.

    regards

    peterrc
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-23-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    7

    Re: How to sync between two columns and present the number of times value appears on the c

    Quote Originally Posted by etaf View Post
    OK
    or you could use
    =countif(o:o;i2)

    then the range will not matter when you put the new values into the sheet column I
    Ok, I guess i'll just have to delete the items from i when they are being sent out of the storage...

    Quote Originally Posted by peterrc View Post
    regards

    peterrc
    Sorry I think you misunderstood what i'm trying to make.
    the all point of the excel file is to try an efficient way to organize my storage.

+ 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. Calculating number of times individual number appears in a pivot table
    By snoopy1461 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-15-2014, 08:39 AM
  2. [SOLVED] Count the number of times an A appears 5 or more times consecutively
    By CCook310 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 10-02-2013, 04:02 PM
  3. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  4. Replies: 3
    Last Post: 04-26-2013, 01:21 PM
  5. [SOLVED] Lookup and count number of times a number is present???
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-31-2012, 12:21 PM
  6. Replies: 3
    Last Post: 09-17-2012, 08:05 AM
  7. Replies: 5
    Last Post: 11-22-2010, 06:31 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