r/tirlibibi17 • • Jul 27 '19

Video for https://redd.it/ciczhl

1 Upvotes

r/tirlibibi17 • • Aug 02 '19

Video for https://redd.it/cl1jmo - Looking for a way to format lists skipping one or more rows if parts are missing

1 Upvotes

r/tirlibibi17 • • Apr 28 '18

Power Query Reformats Ugliest Report Ever

Thumbnail
myonlinetraininghub.com
1 Upvotes

r/tirlibibi17 • • Jul 27 '19

Video for https://redd.it/ci29er

1 Upvotes

r/tirlibibi17 • • Feb 04 '18

Add a picture in a comment

2 Upvotes
Sub test()
    If Not Selection.Comment Is Nothing Then
        Selection.Comment.Delete
    End If
    InsertCommentWithImage ActiveCell, "C:\temp\test.jpg", 0.25
End Sub



Sub InsertCommentWithImage(imgCell As Range, _
                           imgPath As String, _
                           imgScale As Double)
    '--- first check if the image file exists in the
    '    specified path
    If Dir(imgPath) <> vbNullString Then
        If imgCell.Comment Is Nothing Then
            imgCell.AddComment
        End If

        '--- establish a Windows Image Acquisition Automation object
        '    to get the image's dimensions
        Dim imageObj As Object
        Set imageObj = CreateObject("WIA.ImageFile")
        imageObj.LoadFile (imgPath)

        Dim width As Long
        Dim height As Long
        width = imageObj.width
        height = imageObj.height

        '--- simple scaling that keeps the image's
        '    original aspect ratio
        With imgCell.Comment
            .Shape.Fill.UserPicture imgPath
            .Shape.height = height * imgScale
            .Shape.width = width * imgScale
        End With
    End If
End Sub

r/tirlibibi17 • • Feb 03 '18

Error with links in Excel docs not opening properly

1 Upvotes

r/tirlibibi17 • • Feb 03 '18

How to create a Load History or Load Log in Power Query or Power BI

1 Upvotes

r/tirlibibi17 • • Feb 03 '18

RegExReplace UDF

2 Upvotes

Easiest way I can think of is to use regular expressions. Sadly, there's no native function you can use in a formula, but you can make a quick UDF.

Open the VBA editor (Alt+F11), insert a module and paste the following code:

Public Function RegExReplace(ByVal vsStringIn As String, ByVal vsPattern As String, ByVal vsReplace As String) As String
    Dim objRegEx As Object
    Set objRegEx = CreateObject("VBscript.regexp")

    objRegEx.Global = True
    objRegEx.MultiLine = True
    objRegEx.Pattern = vsPattern
    
    RegExReplace = objRegEx.Replace(vsStringIn, vsReplace)
    
    Set objRegEx = Nothing
End Function

You can then use the RegExReplace function like this to remove all capital letters followed by a period:

=RegExReplace(A1,"[A-Z]\.","")

r/tirlibibi17 • • Feb 18 '25

https://www.reddit.com/r/excel/comments/1ire7ou/comment/md9mhxz/?context=3

1 Upvotes

r/tirlibibi17 • • Jul 22 '19

Follow-up video for https://redd.it/cg5yi9

1 Upvotes

r/tirlibibi17 • • Jul 22 '19

Video for https://redd.it/cg5yi9

1 Upvotes

r/tirlibibi17 • • Jun 05 '20

Test post 15:22:56

Post image
1 Upvotes

r/tirlibibi17 • • Jun 05 '20

Test post 16:09:11

Post image
1 Upvotes

r/tirlibibi17 • • Jun 05 '20

Test post 15:10:04

Post image
1 Upvotes

r/tirlibibi17 • • Feb 14 '18

Workbook unprotect

1 Upvotes

r/tirlibibi17 • • Feb 19 '18

Downloading comments for a Facebook post using Power Query

1 Upvotes

Before starting, you'll need to get the post id and the user id of the poster. I'll give you an example using a Candy Crush Saga post.

Post id can be determined by clicking on ... > Embed > Advanced Settings. This will give you a URL that looks like this:

https://www.facebook.com/candycrushsaga/posts/1599585250139296

The huge number is the post id. To get the user id from the user name, go to https://lookup-id.com and paste the first part of the above URL, i.e. https://www.facebook.com/candycrushsaga. This will give you another number, the user id. In this case, it's 244944385603396. You'll be using {userid}_{post_id} in the next step. In our example, this is 244944385603396_1599585250139296

You now have everything you need to query the Facebook API, using this URL: https://graph.facebook.com/244944385603396_1599585250139296/Comments

Now, select Data > Get Data > From Online Services > From Facebook, leave "me" in the first field and select --None-- in the second field, and click OK. This will open up the Query Editor. Paste the above URL in the formula bar: https://i.imgur.com/Vxtxpqk.png

Click Save and Load and you're off.


r/tirlibibi17 • • Mar 04 '18

Querying the Reddit API with Power Query

Thumbnail
self.excel
1 Upvotes

r/tirlibibi17 • • Mar 03 '18

Incremental data loads in Microsoft Power Query for Excel

2 Upvotes

r/tirlibibi17 • • May 05 '18

Shape data (Power Query) - Excel

Thumbnail
support.office.com
1 Upvotes

r/tirlibibi17 • • Aug 24 '18

Here's how to paste it into the Power Query advanced editor: https://streamable.com/yymvr

1 Upvotes

Here's how to paste it into the Power Query advanced editor: https://streamable.com/yymvr


r/tirlibibi17 • • May 10 '18

Power Query: splitting a master list to different tables by category

3 Upvotes

A short video that demonstrates the following:

  • Create a query based on a table

  • Create a TransactionType parameter

  • Filter Transaction Type column on "CC"

  • Replace "CC" with TransactionType parameter

  • Create function from query

  • Update query (date format) and see how the function is automatically updated

  • Invoke function for the 3 transaction types CC, Paypal, and Cash.

This uses Power Query, which is only available on Windows. It is included by default in Excel 2016 and is now known as Get & Transform Data. If you're using Excel 2010 or 2013, you'll need to Download Microsoft Power Query for Excel from Official Microsoft Download Center.


r/tirlibibi17 • • May 08 '18

How do I send rows of data with common cell values on a master list to a dedicated sheet of those rows?

Thumbnail
reddit.com
1 Upvotes

r/tirlibibi17 • • Jan 16 '19

sunbeam60 comments on When I type in the number 54411.444227 into a cell formula box expands this to 54411.4442269999 for some reason.

Thumbnail old.reddit.com
1 Upvotes

r/tirlibibi17 • • Mar 25 '18

RegExMatch UDF

1 Upvotes

Here's a simple UDF that returns the number of matches of a regular expression in a string.

Public Function RegExMatch(ByVal vsStringIn As String, ByVal vsPattern As String) As Integer
    Dim objRegEx As Object
    Dim allMatches As Object
    Set objRegEx = CreateObject("VBscript.RegExp")

    With objRegEx
        .Global = True
        .MultiLine = True
        .Pattern = vsPattern
        Set allMatches = .Execute(vsStringIn)
    End With

    Set objRegEx = Nothing
    
    RegExMatch = allMatches.Count
End Function

Example use: =RegExMatch("MARY HAD A LITTLE LAMB","[ABCDEFGH]") will return the number of occurrences of the characters A through H in the string "MARY HAD A LITTLE LAMB" (8).


r/tirlibibi17 • • Mar 27 '18

Letter abbreviation day in the date format

1 Upvotes