Results 1 to 11 of 11

How to replicated an IF formulan in PowerQuery

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-01-2016
    Location
    Prague
    MS-Off Ver
    2013
    Posts
    121

    How to replicated an IF formulan in PowerQuery

    Hi All,

    I have a IF formula in excel which is working fine for accumulating a sickness day calculation for employees. But some reasons I will move the file to power query and therefore I need to replicate the formulas in Powerquery. But my power query knowledge is limited for that. In this point, may I kindly ask your help on how to achieve same result in power query ?

    So, here is my attached file. I have a table with employees sickness start dates which is "Date" column. Based on company rule, if the sickness is taken more than 3days in 7 days time period, first 3 days is % 50paid and rest is unpaid.
    That's our holy rule In "P" column I am checking the 7day rules and In "Q" column, i am indexing the continuous dates. if its not continuous/in 7 days; i am starting from 1. At the end, I will mark everything <=3 as paid, rest unpaid which is the easy part.

    Any idea how to do this indexing (column Q) in Power Query ?

    PS: "employee logon" column is for keeping the calculation for that spesific employee. Thats why, there is always if E3=E2 formula.

    Let me know if you need anything. Any tips or start point for me in power query would be also much appreciated.

    Thanks a million
    Orhan

    Capture.JPG
    Attached Files Attached Files
    Last edited by orhanceliloglu; 07-20-2018 at 05:44 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mirror Cells for edits to be replicated both ways
    By hemal89 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-30-2020, 08:44 AM
  2. Formulas not working on replicated sheet
    By chilli76 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2016, 04:52 AM
  3. Need Columns to Feed to Replicated Questionnares
    By ablits1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2014, 11:46 AM
  4. Replicated adding/deleting rows on seperate sheets
    By hlep in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-23-2012, 05:41 AM
  5. Replies: 1
    Last Post: 05-21-2012, 03:00 AM
  6. Vlookup to find missing or replicated data`
    By excelhlp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2008, 05:24 PM
  7. Unwanted replicated split screen
    By BoyLeroy in forum Excel General
    Replies: 1
    Last Post: 09-28-2005, 03:05 AM

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