+ Reply to Thread
Results 1 to 5 of 5

Formula only working in 1 cell:S

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Formula only working in 1 cell:S

    Morning,

    Please see attached worksheet, Sheet 2> Column E> for some reason SUMPRODUCT formula is only working in one cell (highlighted), any ideas? I'm probably missing something obvious!

    Many thanks
    Jason
    VSum-test.xls

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Formula only working in 1 cell:S

    Yep, your numbers are stored as text, if you convert them to numbers, the formulas work

    Or you can convert your lookups in sheet 2 to text

  3. #3
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Formula only working in 1 cell:S

    VSum-test.v2.zip

    Apologies I attached the incorrect worksheet....Lookups are custom due to Mode formula in attached...

    Thanks
    Jason

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Formula only working in 1 cell:S

    Hi Jason,

    They're still formatted as text, this is proved by the fact that this works for 1085. Only 1097 is stored as a number on the first sheet
    PHP Code: 
    =SUMPRODUCT(--(TEXT($A4,"####")=Sheet1!$A$2:$A$13210),--(E$2=Sheet1!$D$2:$D$13210),Sheet1!$B$2:$B$13210
    Last edited by Kyle123; 01-31-2012 at 07:40 AM.

  5. #5
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Formula only working in 1 cell:S

    Thanks Kyle, help is much appreciated....

+ 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