+ Reply to Thread
Results 1 to 4 of 4

Ignoring one value in one column if it is same.

  1. #1
    Registered User
    Join Date
    02-27-2020
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    23

    Ignoring one value in one column if it is same.

    I have two columns,

    Sometimes in both column A and B the value is example

    example

    A = Apples
    B = Apples

    now I want to use two countif formula, one in column A and column B where if column A has Apples and B has Apples too, it ignores B doesn't add the same thing twice.

    I hope I am clear.

    How can I do that, please?

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Ignoring one value in one column if it is same.

    I don't think you are being clear enough to give a definitive answer, with an example workbook showing exactly what you want. (see yellow banner for attaching a workbook).

    For example when you say you don't want to add the same thing twice, are you trying to perform a sum of say quantities or prices, or are you adding apples to a list say.

    Or do you just want an idication when adding to column B that the product is already in column A. (see attached)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-27-2020
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    23

    Re: Ignoring one value in one column if it is same.

    Apologies for that, I kinda figured it

    =countif(A:A, "<>Apples", B:B,"Apples"), That ignores the apples from A and only counts the ones in B.

    Thus avoiding duplicates.

    Let me know if my reasoning is right.

  4. #4
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Ignoring one value in one column if it is same.

    If it works...your reasoning is right!

+ 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] Extract Values into Column A to Column K of Sheet Named Here_1 ignoring blanks
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-22-2021, 03:24 AM
  2. [SOLVED] Extract Values into Column A to Column I of Sheet Named Here ignoring blanks
    By bjnockle in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-07-2021, 09:12 AM
  3. Replies: 8
    Last Post: 10-28-2018, 07:41 AM
  4. Array formula, copy column to another column ignoring blank
    By Confuze in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2018, 04:30 PM
  5. sum corresponding column ignoring blanks
    By ashishmehraitc09 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-24-2017, 07:38 AM
  6. Replies: 5
    Last Post: 09-15-2016, 03:31 AM
  7. Sum every fifth column, ignoring text
    By Snackan1986 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2015, 04:46 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