Results 1 to 2 of 2

Thread: IF Formula on Filtered Results

  1. #1

    IF Formula on Filtered Results

    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi there,

    I have used an advanced filter to filter down my dataset to football matches involving Arsenal and I'm now trying to add an IF formula. My formula (which is in M36) is


    It's basically stating that if Arsenal are playing away in this game and were at home in their last game, take the value for HomeShots in the last game (N23), however if Arsenal are away in this game and were away in the previous game then take the value of AwayShots in last game (O23). The formula works perfectly, however when I try to drag it down through to the other records it seems to take cell references from outside the filtered range. Is there any way around this? Unfortunately I'm not familiar with building Macros and manual entry is not really an option as I have a dataset of thousands of games; this will need to be replicated with different teams and different variables/

    Thanks in advance for your help.


  2. #2
    Super Moderator Bob Phillips's Avatar
    Join Date
    Mar 2011
    Excel Version
    Post your workbook.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts