New: NextGenTemplates Academy - video courses on Excel formulas with AI and Pivot Tables & dashboards. Early-bird: 20% off with code EARLYBIRD20 - first 20 orders only. See the courses →
  • Learn Excel (Free Course)
    • 1. Shortcut Keys
    • 2. Fill & Flash Fill
    • 3. Find & Replace
    • 4. Sort & Filter
    • 5. Formulas & Functions
    • 6. Data Validation
    • 7. Conditional Formatting
    • 8. Basic Charts
    • 9. Advanced Charts
    • 10. Pivot Tables
    • 11. Excel Dashboards
    • 12. VBA Course
    • 13. Excel Formulas with AI
  • Templates
  • Tutorials
    • Charts and Visualization
    • VBA
    • Excel Tips and Tricks
    • Excel Dashboards
    • Power Pivot & DAX
  • Power BI
  • Template Store
    • Ready to Use Templates
  • Courses
  • Academy
    • Excel + AI Mastery: 100 Formulas
    • Excel Pivot Tables & Dashboards
  • About Us
  • Contact Us

PK: An Excel Expert

Transforming Data into Decisions

Tag: VBA Function

Countif by Cell Background Color
VBA

COUNTIF by cells background color in Excel

May 10, 2022October 10, 2026 PKComments Off on COUNTIF by cells background color in Excel
COUNTIF is an extremely useful function in Microsoft Excel. We use this function to get the count based on some conditions. Here in this article, we have created a user-defined
Read More
Ratio Calculation in Excel
Excel Tips and Tricks VBA

Calculate Ratio in Excel

January 23, 2020October 6, 2024 PKComments Off on Calculate Ratio in Excel
In this article, we have explained how to Calculate Ratio between two number in Excel. We have used the Excel formula as well as the User defined function in VBA to
Read More
Shell in VBA
VBA

Shell Function in VBA

January 20, 2020October 8, 2024 PKComments Off on Shell Function in VBA
Shell Function in VBA can run executable program and returns a Variant (Double) representing the program's task ID if successful otherwise, it returns zero. Syntax Shell(pathname, [ windowstyle ]) pathname:
Read More
RandBetweenText Formula in Excel: Random Text from a List
VBA

RandBetweenText Formula in Excel: Random Text from a List

December 4, 2019October 9, 2026 PKComments Off on RandBetweenText Formula in Excel: Random Text from a List
The RandBetweenText formula in Excel does for text what RANDBETWEEN does for numbers: it returns a random item from a list you choose, such as a random employee, product or
Read More
Word Count in Excel
VBA

UDF to get the frequency of specific word in a Paragraph

August 22, 2019October 10, 2026 PKComments Off on UDF to get the frequency of specific word in a Paragraph
I. Introduction Data analysis - a critical aspect of modern business and organizations - provides valuable insights into various datasets, allowing informed decisions to be made. While Microsoft Excel boasts
Read More
Shell Function in VBA: Open Programs, Folders and Files
VBA

Shell Function in VBA: Open Programs, Folders and Files

June 14, 2019October 9, 2026 PKComments Off on Shell Function in VBA: Open Programs, Folders and Files
The Shell function in VBA lets your macro start another program, exactly as if you had double-clicked it. In this tutorial you use it in the three ways PK shows
Read More
  • Learn Excel (Free Course)
    • 1. Shortcut Keys
    • 2. Fill & Flash Fill
    • 3. Find & Replace
    • 4. Sort & Filter
    • 5. Formulas & Functions
    • 6. Data Validation
    • 7. Conditional Formatting
    • 8. Basic Charts
    • 9. Advanced Charts
    • 10. Pivot Tables
    • 11. Excel Dashboards
    • 12. VBA Course
    • 13. Excel Formulas with AI
  • Templates
  • Tutorials
    • Charts and Visualization
    • VBA
    • Excel Tips and Tricks
    • Excel Dashboards
    • Power Pivot & DAX
  • Power BI
  • Template Store
    • Ready to Use Templates
  • Courses
  • Academy
    • Excel + AI Mastery: 100 Formulas
    • Excel Pivot Tables & Dashboards
  • About Us
  • Contact Us
Copyright © 2023 PK-AnExcelExpert.com - Privacy Policy