+ Reply to Thread
Results 1 to 10 of 10

Cell Formatting affecting formulas

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Cell Formatting affecting formulas

    Hi All,

    I can't post an example as the file is too big, but when I use formulas on cells that are already extracting data from other pages, the formulas don't work. But if I was to just type up an example and then apply the formula, it works.

    Is there anything I can do to amend this?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell Formatting affecting formulas

    Please provide a sample file without any huge data or atleast a screenshot if possible


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Cell Formatting affecting formulas

    OK, I've done a bit of deleting.

    Let me explain...

    Page 'Intouch' is drawing data from our system via Access, as is 'Box Details'

    On page 'Machine 1'I have the following formula in AE2:

    =IF(AND(AC2>=$B$9,AD2>=$F$9,AC2<=$K$9,AD2<=$L$9),$I$9,0)

    If I was to type up the data it is looking at then apply the formula it works. But because it's extracting data from certain pages it's returning a 0 value, when, in this instance, it should be returning 2.

    I've looked at the formatting of the cells but I can't see where a problem may lie.
    Attached Files Attached Files

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell Formatting affecting formulas

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


    AC2
    05-06-2013

    K9
    04-06-2013

    In Formula Sheet

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

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

    Drag both the formula's down...

    Right is a Text function which will get text result instead of real data. So using Value will convert it as real value instead of text data.

  5. #5
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Cell Formatting affecting formulas

    So simple!

    Thank you very much, appreciate it

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell Formatting affecting formulas

    Glad it helps you and thanks for the feedback

  7. #7
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Cell Formatting affecting formulas

    Sorry to be a pain,

    =IF(AND(AB2>=$B$9,AC2>=$F$9,AB2<=$J$9,AC2<=$K$9),$I$9,0) If I alter this formula to

    =IF(AND(AB2>=$B$10,AC2>=$F$10,AB2<=$J$10,AC2<=$K$10),$I$10,0) it's suddenly not picking up any data.

    What have I done wrong!!

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell Formatting affecting formulas

    In your attached excel file the Column-AB is blank.............

  9. #9
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Cell Formatting affecting formulas

    Sorry...

    Ok, I've kinda started from scratch on this.

    I've reattached what I'm doing. For some reason I'm not getting an results. As far as I can see I've amended the dates that are showing as text so that the formula should work, however on 'Machine 1' in column L and O there are no results showing and I can't fathom why...
    Attached Files Attached Files

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cell Formatting affecting formulas

    The conditions mentioned in your formula is not matching

+ 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