+ Reply to Thread
Results 1 to 4 of 4

Using a sumif off a text

  1. #1
    Registered User
    Join Date
    08-11-2021
    Location
    New York
    MS-Off Ver
    Office 365
    Posts
    21

    Using a sumif off a text

    Need to down load data from our ERP system in text format so the leading zeros will not be dropped. When I run a sumif the formula returns the same results for 1, 001, 0001 and 00001. Is there a way to have the formula to treat the leading 0's as they exist? See attached.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,786

    Re: Using a sumif off a text

    I2=if($h2<>"",sumproduct(($a$2:$a$22780=$h2)*($c$2:$c$22780)),"")

    copy down

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Using a sumif off a text

    Hi AC101,

    Here is another answer and a bit easier. In I2 put this formula and pull down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: Using a sumif off a text

    cell I2 formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 11-01-2017, 02:01 PM
  2. sumif with text
    By ammartino44 in forum Excel General
    Replies: 2
    Last Post: 08-04-2015, 04:06 AM
  3. [SOLVED] How to sumif the text
    By Terressa in forum Excel General
    Replies: 2
    Last Post: 07-22-2015, 02:26 AM
  4. If text then Sumif
    By staniel777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2014, 01:12 PM
  5. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  6. [SOLVED] SUMIF text
    By mariahah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2013, 12:33 PM
  7. [SOLVED] Sumif based on a text range, text criteria and and text sum range
    By ned0 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2012, 07:45 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