+ Reply to Thread
Results 1 to 5 of 5

Formulas affecting Formulas?

Hybrid View

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

    Formulas affecting Formulas?

    Hiya,

    On the attached sheet I have a page called 'Week' that shows dates. Previously I have been able to match those dates and generate a list with the following formula on page 'Formula'.

    =IF(OR(E2=Week!$B$2,E2=Week!$B$3,E2=Week!$B$4,E2=Week!$B$5,E2=Week!$B$6,),COUNT(G$1:G1)+1,"")

    For some reason it won't display anything and I'm wondering whether it's to do with the formula it's table it's reading from on page 'Intouch'.
    Attached Files Attached Files

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

    Re: Formulas affecting Formulas?

    Just as a test I changed the formula in column E of the 'Formula' page to text and the formula worked so it would seem that formula's do affect the outcome.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formulas affecting Formulas?

    Consider changing your formula in 'Intouch' tab to

    =DATE(MID(Table_ReportGenerationDatabase[@EndTime],7,4),MID(Table_ReportGenerationDatabase[@EndTime],4,2),LEFT(Table_ReportGenerationDatabase[@EndTime],2))
    Currently the result is read as text and not as a date, hence the anomaly
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Formulas affecting Formulas?

    The formula you are using in the INTOUCH sheet (LEFT...) extracts a text string which you are comparing to a number of the Weeks sheet. Thus it always returns an empty string

    Enter
    =INT(Table_ReportGenerationDatabase[@EndTime])
    in ED2 (then drag down) in the Intouch sheet and format as date. You will see your results now appearing
    Last edited by Pepe Le Mokko; 02-04-2013 at 06:05 AM.

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

    Re: Formulas affecting Formulas?

    Thankyou both,

    Both of those examples have worked

+ 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