+ Reply to Thread
Results 1 to 6 of 6

Formula in two cells different result and not working for another item

  1. #1
    Registered User
    Join Date
    11-06-2018
    Location
    Germany
    MS-Off Ver
    2010
    Posts
    13

    Lightbulb Formula in two cells different result and not working for another item

    Hi everyone,

    This formula drives me crazy.

    Goal: I would like to get the maximum of a column (hierarchy level (in column BG)) by having two criterias included.
    1. specific name (in column BQ)
    2. specific location (in column K)

    I am using this formula:
    =MAX(IF(Baseline!$BQ$7:$BQ$3303="name";if(Baseline!$K$7:$K$3303="Location";Baseline!$BG$7:$BG$3303)))

    and alternatively this formula:
    MAX(IF((Baseline!BQ7:BQ3303="name")*(Baseline!K7:K3303="Location");Baseline!BG7:BG3303))

    In one cell it is working, in another cell not. Also it is working for one name, but not for another name. Do you see any mistakes in here? Or do you have an alternative formula which should be working?

    Thank you so much for your help already in advance!

    Best regards,
    #läuftbeimir?!
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: Formula in two cells different result and not working for another item

    Post a sample workbook with samples of the real data and the actual formula.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-06-2018
    Location
    Germany
    MS-Off Ver
    2010
    Posts
    13

    Re: Formula in two cells different result and not working for another item

    In my sample it is not working at all :D

    So open for suggestions....

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: Formula in two cells different result and not working for another item

    In the sample you have posted, you have not include the equals ( = ) sign and not pressed Ctrl-Shift-Enter so the semi-colons ( ; ) from YOUR Regional Settings have not been converted to commas ( , ) in mine. You would also need to include the Baseline worksheet.

    And you need to include some data so that is possible to test the formulae.

    If you do not wish to provide this information in order to help yourself, that's fine. However, I cannot offer any assistance without it.

  5. #5
    Registered User
    Join Date
    11-06-2018
    Location
    Germany
    MS-Off Ver
    2010
    Posts
    13

    Re: Formula in two cells different result and not working for another item

    Hi,

    thank you very much for your respond!

    Where would you put the equals? In the formula I found online it is exactly the way I do use it right now. Also there should be no comma, but semi-colons - like I did it.

    May you be able to write the formula (as you think it should be) in here?

    Best regards

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: Formula in two cells different result and not working for another item

    Post a sample workbook. I need to see the formulae in context with data. As I said, if you don't, that's fine. Last time of asking.

+ 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] Simple formula needed to count cells based on item names in other cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2019, 05:49 PM
  2. [SOLVED] Flexi Working Timesheet - formula result not correct
    By liamlarmour in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-12-2017, 06:37 AM
  3. Format a part of a text working with only value not working with formula result
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2017, 05:41 AM
  4. [SOLVED] =mid formula not working/showing result
    By ryan4646 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-30-2013, 06:06 AM
  5. Replies: 5
    Last Post: 06-10-2013, 07:01 AM
  6. Replies: 3
    Last Post: 07-08-2012, 05:25 AM
  7. Replies: 2
    Last Post: 05-02-2012, 06:22 AM

Tags for this Thread

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