+ Reply to Thread
Results 1 to 4 of 4

Formula not working after copying and pasting it to another sheet

  1. #1
    Registered User
    Join Date
    04-07-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Formula not working after copying and pasting it to another sheet

    Hello,

    I'm new to this site, and I really need help with my excel work. I have been figuring out whats wrong, but I could not figure it out.

    I am trying to count the number of visitors per hour, and I copied the formula from an old file, but when i paste it to a new file, it's not giving me the correct result, but just giving me zeros. Here's the formula:

    =SUM(IF('Prep Data'!$B$2:$B$2200="Tuesday",IF('Prep Data'!$C$2:$C$2200>=9,IF('Prep Data'!$C$2:$C$2200<10,1,0),0),0))

    Here's the sample of the raw data:
    A B C D E
    ID DAY Sign In Sign Out Total Time
    64135 Monday 8.86 9.05 -0.19
    764775 Monday 9.54 11.37 -1.83

    I hope you can help me figure out how to make this formula work so I can count the number of visitors per hour.

    Thanks

  2. #2
    Registered User
    Join Date
    04-01-2011
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    53

    Re: Formula not working after copying and pasting it to another sheet

    Could you please upload a sample of your new excel file.
    Simply hit the star button to say THANK YOU.

  3. #3
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Formula not working after copying and pasting it to another sheet

    Have you confirmed it with Ctrl+Shift+Enter rather than just Enter as it's an array function?

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  4. #4
    Registered User
    Join Date
    04-07-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Formula not working after copying and pasting it to another sheet

    Thanks for the reply. I tried the CTRL+SHIFT+ENTER, but still it doesnt work.

    Do you recommend any formula I can use to count the number of visitors per hour base on the raw data sch as, visitor ID, sign in time, sign out time, date?

    Thanks!

+ 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