100+ Excel Formula Examples + List

Share

Facebook
Twitter
LinkedIn

The first step of getting awesome in Excel is to understand that you can ask Excel do things for you. This is done by speaking a special language called as “Excel Formulas”. When you write a formula or function, you are asking Excel to figure out something from the values you have. Say you want to add up a bunch of values in a range A1:A10, you can ask Excel to do this for you by writing =SUM(A1:A10) and bingo, you get the result immediately. The best part is, if your numbers change, the answer changes too.

If you are a beginner, Excel formula list can feel overwhelming. Why not? There are hundreds of different formulas in Excel. So which formulas should you learn?

Excel Formula list, examples and how-to - Free Guide

This guide gives you the answer. Here is a 100+ Excel formula list for every occasion. Each box describes a problem statement, an example, result, some notes and link to learn more. Use this guide to learn formulas quickly.

Data for Excel formula list in this guide

Most formula examples shown here are self-explanatory. In some places I have used a table of data, called staff. Here is a snapshot of the Staff table. When looking a formula example, refer to this image to understand how the calculation works.

data for Excel Formula examples

If you have never used tables before, check out Excel Tables – What are they and how to use them? to learn more.

Excel Formula List by topic

This page is rather long. So I have broken it in to sections. Click on below links to navigate or use CTRL+F on your browser to search for a function / formula how-to.

Formulas related to numbers, values, summaries and statistics

Excel offers many functions when it comes to working with numeric values. Use below example formulas and functions to work efficiently with numbers. Learn how to calculate count, sum, average and other statistical summaries from your data. Apart from the functions discussed here, you can also use operators like + (to add things), -(to subtract), *(to multiply), /(to divide), %(to convert a value to percentage), ^(to raise the power), ~(to negate a Boolean value) and brackets to create expressions.

Add some values

Example
=SUM(5,6,9)
Result 20

Add values from a range of cells

Example
=SUM(A1:A5)
Result 125

Sum up values from a table reference

Example
=SUM(staff[Salary])
Result $ 945,000

Sum of numbers that meet conditions

Example
=SUMIFS(staff[Salary], staff[Department],"Sales")
Result $ 279,000

Sum of numbers greater than (less than etc.) something

Example
=SUMIFS(A1:A6, A1:A6,">25")
Result 100

Sum of numbers that are currently filtered

Example
=SUBTOTAL(109,staff[Salary])
Result $ 945,000

Count of numbers that are currently filtered

Example
=SUBTOTAL(103,staff[Name])
Result 13

Running total in a column, adjacent to original data

Type this formula in first cell and drag down to get running total.
Example
=SUM($A$1:A1)
Result 10

Count of numbers in a range

Example
=COUNT(A1:A6)
Result 6

Count of all values (including text)

Example
=COUNTA(staff[Name])
Result 13

Count of blank values in the input (range or table column)

Example
=COUNTBLANK(A1:A20)
Result 14

Count number of non-blank values

ROWS formula tells how rows are there in a range. You can also use COLUMNS
Example
=ROWS(A1:A20)-COUNTBLANK(A1:A20)
Result 6

Count how many items have met given conditions

Example
=COUNTIFS(staff[Department],"IT")
Result 3

Count how many items begin with given text

* is a wild card. You can use it to match any number of letters. If you want to match a single letter, use ?
Example
=COUNTIFS(staff[Name],"J*")
Result 13

Count how many items end with given pattern

Example
=COUNTIFS(staff[Name],"*n")
Result 4

Count how many items contain given word

Example
=COUNTIFS(staff[Name],"*an*")
Result 3

Average of given numbers

Example
=AVERAGE(staff[Salary])
Result $ 72,692

Average of given numbers satisfying conditions

Example
=AVERAGEIFS(staff[Salary],staff[Department], "HR")
Result $ 77,333

Average of positive numbers

Example
=AVERAGEIFS(A1:A10,A1:A10,">0")
Result 25.83

Average of numbers excluding top & bottom 10% values

Example
=TRIMMEAN(staff[Salary],10%)
Result $ 72,692

7 day moving average from daily data

Type this formula in first cell and drag down to get moving average.
Example
=AVERAGE(A1:A7)
Result 25.83

Weighted average of numbers

A1:A6 contain values and B1:B6 contain weights
Example
=SUMPRODUCT(A1:A6,B1:B6)
Result 2,550

Median of a range of values

Example
=MEDIAN(staff[Salary])
Result $ 76,000

Most frequent number in a range (MODE)

If your list has multiple MODEs, use MODE.MULT to return all of them as a new list.
Example
=MODE.SNGL(1,2,3,3,2,1,1,5,6,7,3,4,8,9)
Result 1

Statistical quartiles of given values

Use 1 for first quartile, 2 for median, 3 for third quartile. EXC means 0 & 1 are excluded when calculating quartiles.
Example
=QUARTILE.EXC(staff[Salary],1)
Result $ 59,500

90th (or any other) percentile of given values

Example
=PERCENTILE.EXC(staff[Salary],0.9)
Result $ 89,000

Minimum value among a list of numbers

Example
=MIN(A1:A6)
Result 10

3rd smallest (or any other) among a list

Example
=SMALL(staff[Salary],3)
Result $ 59,000

Rank of a number in a list of values

If two numbers share a rank, then the rank will be averaged. Use RANK.EQ to return same rank for both numbers
Example
=RANK.AVG(76000, staff[Salary])
Result 7

Maximum value from a list of values

Example
=MAX(staff[Salary])
Result $ 89,000

2nd largest value in a spreadsheet range

Example
=LARGE(A2:A7,2)
Result 30

Formulas to do operations on numbers

Whenever you have some numbers in a worksheet, you may want to run some operations like rounding them or extracting integer portion etc. on them. In this section, see some of the frequently used number operations.

Remainder after dividing two numbers

Example
=MOD(31,7)
Result 3

Round a number to nearest whole number or fraction

Example
=ROUND(PI(),4)
Result 3.1416

Round a number to nearest multiple of x

Example
=MROUND(27,4)
Result 28

Integer portion of a number

Example
=INT(19/7)
Result 2

Percentage change (variance) from one value to another

H4 is 35000, H5 is 38000
Example
=H5/H4-1
Result 8.57%

Decimal portion of a number

Example
=MOD(PI(),1)
Result 0.141592654

Absolute value of a number

Example
=ABS(30-43)
Result 13

Calculate power of one number to another

Example
=7^3
Result 343

Formulas related to check things, apply business rules and logic control

Microsoft Excel has several powerful functions to check things and set up control or business logic in your workbooks. You can use IF function to write simple logic expressions or nest multiple IF functions for more complex scenarios. You can also use newly introduced IFS function to write long multi-step if function. This only works in Office 365 or Excel online. See below examples to learn more about formulas and functions to check things and apply business rules.

Check a condition and output one of the two possible values

Example
=IF(A9>20,"Too high", "Too low")
Result Too low

Check if multiple conditions are true (AND)

Example
=AND(A9>5,B9<20)
Result FALSE

Check if any condition is true (OR)

Example
=OR(E10="Sales", F10>90000, D10=A9)
Result FALSE

Logical NOT check

Example
=NOT("Sam"="Samuel")
Result TRUE

Check if either this or that (Exclusive OR)

Will be TRUE only if either A1>10 or B1>10 but not both or neither.
Example
=XOR(A9>10, B9>10)
Result FALSE

Select one among multiple values

Picks a value from a list of values, in this case, picks A2 as it is the 3rd value.
Example
=CHOOSE(3,A9,B10,A10,B11)
Result 0

Multiple IF conditions as IFS

A9 has 7. Works only in Office 365, Office online (and may be in Excel 2019)
Example
=ifs(A9>10, "This is too high", A9>5, "This is ok", A9>2,"Almost low", A9<=2,"Really low")
Result This is ok

Check if a value is present in a list

Example
=IF(COUNTIFS(staff[Name],"Jan")>0,"Yes, Jan is in there","No, no such person")
Result Yes, Jan is in there

Check multiple conditions as nested IF

Example
=IF(A9>10, "This is too high",IF( A9>5, "This is ok", IF(A9>2,"Almost low", "Really low")))
Result Really low

Check if a value is between two other values

Example
=IF(AND(A9>=10,A9<=20),"Between 10 and  20","Nope, not between 10 and 20")
Result Nope, not between 10 and 20

Is a cell blank?

Example
=ISBLANK(A18)
Result TRUE

Is a value even?

Example
=ISEVEN(7)
Result FALSE

Is a value odd?

Example
=ISODD(7)
Result TRUE

Is a cell contains number?

Example
=ISNUMBER(A9)
Result FALSE

Is a cell contains formula?

Example
=ISFORMULA(A9)
Result FALSE

Is a cell (or formula) ends up in error?

Example
=ISERROR(7/0)
Result TRUE

Formulas to work with text values, strings, words and phrases

While Excel is predominantly a number driven tool, we still have lots of text values in spreadsheets. Excel has many powerful and elegant text processing functions to help you extract, analyze or understand your text / string values. You can use the special operator & to combine text values or even work with newly introduced TEXTJOIN() function to combine a range of values to one. Keep in mind, this TEXTJOIN only works in Office 365 or Excel Online at the moment. In the below examples, know how to work with string / text values in your workbooks using formulas.

Convert text to lower case

Example
=LOWER("hello")
Result hello

Convert text to upper case

Example
=UPPER(D3)
Result JAMES

Convert text to proper case (each word's first letter capitalized)

Example
=PROPER("this is a long sentence")
Result This Is A Long Sentence

Combine different text values to one text

Example
=CONCATENATE(A3, " and ", A4)
Result 30 and 25

Combine different text values to one text

Example
=A3&" and "&A4
Result 30 and 25

Extract first few letters from a text

Example
=LEFT("India",3)
Result Ind

Extract last few letters from a text

Example
=RIGHT("New Zealand",4)
Result land

Extract middle portion from given text

Example
=MID("United States",4,5)
Result ted S

What is the length of given text value

Example
=LEN("Chandoo.org")
Result 11

Substitute one word with another

Example
=SUBSTITUTE("Microsoft Excel","cel","cellent")
Result Microsoft Excellent

Replace some letters with other

Example
=REPLACE("abc@email.com",5,1,"g")
Result abc@gmail.com

Find if a text has another text

Example
=FIND("soft","Microsoft Excel")
Result 6

Extract initials from a name

H1 contains Bill Jelen
Example
=LEFT(H1,1)&MID(H1,FIND(" ",H1)+1,1)
Result BJ

Find out how many words are in a sentence

H2 contains "This is a very long sentence with lots of words"
Example
=LEN(H2)-LEN(SUBSTITUTE(H2," ",""))+1
Result 10

Remove unnecessary spaces from a cell

Example
=TRIM("  chandoo.  org   ")
Result chandoo. org

Remove anything after a symbol or word

H3 contains someone@something.com
Example
=LEFT(H3,FIND("@",H3)-1)
Result someone

Formulas to work with date, time and calendar

Date and time values are very important when working with business data. That is why, Excel has many functions in this space. You can use TODAY() to figure out what is the current date or use DATE() to generate a date that you want. In the below examples, learn how to calculate some of the most common date and time related stuff using Excel.

What is today's date?

Example
=TODAY()
Result 6/27/2018

What is the current date & time?

Example
=NOW()
Result 6/27/2018 12:00

Create a date value from year, month and day

Example
=DATE(2018,10,20)
Result 10/20/2018

Create a time value from hour, minute and second

Example
=TIME(9,45,21)
Result 9:45 AM

Get day of month from given date

Example
=DAY(TODAY())
Result 27

What month is a given date on?

Example
=MONTH(DATEVALUE("12-July-1999"))
Result 7

Extract year from a date

Example
=YEAR(TODAY())
Result 2018

Find out day of week (number) from a date

Example
=WEEKDAY(TODAY())
Result 4

Find out day of week (name of the day) from a date

Use DDD to see short form of day name, such as SUN, MON etc.
Example
=TEXT(TODAY(), "DDDD")
Result Wednesday

What is the name of a month from a date?

Use MMM to see short form of month name, such as Jan, Feb etc.
Example
=TEXT(TODAY(), "MMMM")
Result June

Hour from time

Example
=HOUR(NOW())
Result 12

Minute from time

Example
=MINUTE(NOW())
Result 0

Second from time

Example
=SECOND(NOW())
Result 2

What is the date after / before x months

Example
=EDATE(TODAY(),3)
Result 9/27/2018

What is the last date of a month?

Example
=EOMONTH(DATE(2018,8,1),0)
Result 8/31/2018

Calculate number of days between two dates

Example
=DATE(2018,12,1)-DATEVALUE("1-july-2018")
Result 153

Calculate number of years between two dates

You can also use (date1-date2)/365 to calculate number of years between 2 dates
Example
=YEARFRAC(DATE(2009,9,24),TODAY(),1)
Result 8.76

Number of weeks between two dates

Example
=INT((DATE(2018,12,1)-DATEVALUE("1-july-2018"))/7)
Result 21

What is the date after / before x working days (excluding weekends etc.)

This assumes Saturday & Sunday are weekends. If you have some other workweek pattern, use the 3rd parameter of WORKDAY.INTL to specify that. Likewise, you can also specify a list of special holidays (New Years Day, Diwali, Ramadan or Christmas etc.) to exclude them too
Example
=WORKDAY.INTL(TODAY(),12)
Result 7/13/2018

How many working days are between two dates?

This assumes Saturday & Sunday are weekends. If you have some other workweek pattern, use the 3rd parameter of NETWORKDAYS.INTL to specify that. Likewise, you can also specify a list of special holidays (New Years Day, Diwali, Ramadan or Christmas etc.) to exclude them too
Example
=NETWORKDAYS.INTL(TODAY(),DATE(2018,12,31))
Result 134

Formulas to lookup items

Lookup functions help us answer specific questions from business data, like which customer placed the order number PQ1234? You can use them to ask simple questions or combine lookup functions with other formulas in Excel to find more complex things. In these examples, learn how to write some of the most common lookup functions in Excel.

Lookup a value in a table and find corresponding items (example, salary of an employee)

Finds John in the staff table's first column and returns value from 3rd column (salary)
Example
=VLOOKUP("John", staff, 3, FALSE)
Result $ 77,000

Lookup a pattern in a table and find corresponding items (example, salary of an employee)

Example
=VLOOKUP("Jon*", staff,2,FALSE)
Result Production

What is the position of a value in a list?

Example
=MATCH(76000,staff[Salary],0)
Result 10

Formulas to convert one data to another type of data

Often, we end up having data that is not in the right format to do our job. You can use conversion formulas to change data from one type to another.

Convert a cell to number

Here . Is the thousand's separator and , is decimal point (i.e. European notation)
Example
=NUMBERVALUE("123.456,78",",",".")
Result 123,456.78

Convert a value to date

Example
=DATEVALUE("1-jul-2018")
Result 7/1/2018

Convert a cell to number (another technique)

You can also +0 to a text value to convert it to number.
Example
="12456.78"*1
Result 12,456.78

Formulas to check and prevent errors

We can't escape bad coffee, occasionally annoying bosses and errors. Of course, Excel can't help you with first two, but it does a fine job of handling errors for us. Learn how to use the important error handling and checking functions in Excel.

Show a different value if a formula has an error

Example
=IFERROR(VLOOKUP("Sam",staff,3,FALSE),"Employee not found")
Result Employee not found

Show a different value if a formula has an NA error

Example
=IFNA(7/0,"This will appear if the error is #N/A")
Result #DIV/0!

Is a cell (or formula) ends up in error?

Example
=ISERROR(7/0)
Result TRUE

Safely divide one number with another

Example
=IF(A2=0,"",A1/A2)
Result 0.5

Formulas to generate randomized data

Once in a while you need to generate or create random data in Excel. You can use either RAND() or RANDBETWEEN() to complete the job. In these examples, learn how to create most common types of random data using Excel.

Generate a random number

The output changes every time you make a change in your spreadsheet.
Example
=RAND()
Result 0.948708709

Generate a random phone number

The output changes every time you make a change in your spreadsheet.
Example
=RANDBETWEEN(1000000000,9999999999)
Result (535) 050-1262

Generate a random letter from alphabet

The output changes every time you make a change in your spreadsheet.
Example
=CHAR(RANDBETWEEN(CODE("A"),CODE("Z")))
Result Z

Create a random option from a list of values

The output changes every time you make a change in your spreadsheet.
Example
=INDEX(staff[Name], RANDBETWEEN(1,COUNTA(staff[Name])))
Result June

Want some other example? Post a comment

Are you looking for some other example? Please post a comment explaining what you are looking for so our community can help you.

And of course, if you love this guide, please share it with your friends using the buttons below.

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

37 Responses to “Quickly Change Formulas Using Find / Replace”

  1. Andras Ujszaszy says:

    Chandoo,
    this is a really cool stuff what I use quite often. In addtion this method also could be a good choice to switch the reference type of the formulas from relative to absolute or vice versa. (just simply replace the $ in the same way).
    Andras

    • Chandoo says:

      @Andras: you are right, we can use find / replace to change references, reference types etc. Now, only if they had regex in find/ replace, we could so much more 🙂

      @Tony Rose: Thank you. This is very useful and powerful feature. I even use it for cleaning up data. While formulas are good, they are not the solution for every problem. Often when I need more powerful cleanup / changing, I copy paste the stuff to text editors like notepad++ and then use their find/replace to do the dirty task.

      • Sonia says:

        What if i have to change the formula from ='Analysis'!C1 to 'Analysis 1'!C1?
        I tried doing it using Find /Replace but could't. Encountered some errors.

        And is there a way to change this using VBA???

        • Ollie says:

          Hi,

          Did you ever get a reply to this?

          Thanks

          Ollie

        • MF says:

          to make your life easier, suggest you to avoid (Space) in worksheet names whenever possible. Consider (underscore) instead.

          • Luke Moraga says:

            As the first formula wouldn't have the single apostrophes (since there's no space) need to include that in replace. So, search for:
            Analysis

            and replace with:
            'Analysis 1'

  2. Tony Rose says:

    This could be the most useful tips I've seen in a while. I use this all the time and can instantly change 400 formulas with a few clicks. Like so many other functions in Excel, I don't know what I would do without this one.

    Keep 'em coming!

  3. [...] on formulas: 5 areas where mouse kicks keyboard’s butt | Edit formulas in bulk using Find / Replace | Excel Formulas Online [...]

  4. purushoth says:

    THANKS BRO

  5. The Red Ranger says:

    You, sir, are a god among men...

  6. David says:

    This is really cool. Your just save me hours of work. Thanks.

  7. Jodie says:

    Thanks so much for this fix! It saved me tons of work. I'm muddling my way through and this really helped!

  8. Jesse says:

    Oh... My... God!
    This tip just saved me about 2 hours every month! I can't believe how easy it is to use. Now, can somebody tell me who I should call to get a refund for the previous 100 hours I spent manually changing formulas cell by cell?
    Thanks so much! 

  9. Bilal says:

    THANK YOU!!!!
    You saved me hours, I had a sheet that has more than 500 formulas, and i needed to replace the year in all of them, you saved me hours

  10. Elliot says:

    Awesome info on replacing cell addresses in formulas. I have never heard about Ctrl+` before. Thank you!

  11. T says:

    I have something inside a formula like:
    =sum(A1, A2*10) all over I now need to get rid of the *10 {=sume(A1, A2)} I thought to use the find replace trick above but with a blank in the replace but it then outputs just zeros. I thought I could trick it by doing *1 but then it just turns into =*1) with none of my references. Does anyone have an idea how to do this?
    The Ctrl+ trick is cool.

  12. Peter says:

    Thank you! This literally will save me hours and hours of time, and that's without losing my sanity in the process!

  13. Brigitte says:

    I have Sheet(1), Sheet(2), Sheet(3), etc ... Sheet(100).
    Then there's a summary tab where I want to recap information on all those different sheets. Is there anyway to create a formula on the Summary tab to get ='Sheet(1)'!B$29 copied down for all 100 sheets without having to change each sheet # within the formula by hand?

    • Hui... says:

      @Brigitte
      If you have a list of the sheet names in A2:A100
      In B2: =INDIRECT("'"&A2&"'!$B$29")
      Copy down

      or if you don't have a list of the sheets names you can make it up on the fly
      =INDIRECT("'sheet("&ROW()-1&")'!$B$29")
      Copy down

      • Brigitte says:

        Thanks for the suggestion. However, I copied your formula right back to my file and it didn't work. So I did it another way. I put the tab/cell reference in one cell and then did an =INDIRECT() to capture that information.

        K2="'Sheet("&L2&")'!B$29" which has a value of 'Sheet(1)'!B$29
        B2=INDIRECT(K2) which now has a value of 40 (contents on Sheet(1).

        Thank you!!!!

  14. Mohammed Ali says:

    Thank you ..

  15. Niharika says:

    Hi, Out of all the formulae, I wish to replace the formula which has generated 0 value with blank space? I am unable to do it with find and replace function,

    Please suggest.

  16. Rashed says:

    Thanks.

  17. Kevin says:

    Chandoo, you literally just saved me about 2 hours of work. I had a document with a daily report in two formats. The second formate just linked to all the appropriate cells in the other format (different sheets). This was 180 references that needed to be changed and I had to make this for a 4 week period (aka 28 different sheets at 180 references to change per sheet).

    Thanks so much.

  18. Brian says:

    I have tried this way and without using the Ctrl-` formula view
    Either way, I am trying to do something simple, but it won't let me.

    I have a bunch of cells with a simple math formula like
    =-(0.5*20)
    various values in each cell, multiplied by 20

    I simply want to change the multiplier globally from 20 to 25. But when I tell it to find *20 and replace it with *25, it replaces the entire cell contents with *25, rather than just replacing the *20 portion of the cell contents.

    Can anyone assist with this? Seems so simple, but Excel isn't letting me do it.

    • Hui... says:

      Search/Replace 20 or 20) with a cell Reference eg A1 or A1)
      Then put the value 25 in A1

      By using a * in the search it replaces all the text

  19. sadaqat says:

    how to find a specific cell's value in a column & replace replace it with another cell value i actually need a method to replace a data in ca column and replace with the value i have in a specific cell can i give a [ location ] of data to what i need to find and then give row or column range to where i need to find and the given value & then give a [ location ] of data to what i want to be replace with the find and replace by row & column range & than by specific criteria and than by specific location.
    please help.

  20. sadaqat says:

    how to find a specific cell’s value in a column & replace replace it with another cell's value.
    i actually need a method to find a specific cell's data in a column and replace it with the value i have in a specific cell.
    can i give a [ location ] of data to what i need to find and then give row or column range from where i need to find the given value & then give a [ location ] of data to what i want to be replace with.
    find and replace by row & column range & than by specific criteria and than by specific location.
    please help.

  21. sadaqat says:

    how to find a specific cell’s value in a column & replace it with another cell’s value.
    i actually need a method to find a specific cell’s data in a column and replace it with the value i have in a specific cell.
    can i give a [ location ] of data to what i need to find and then give row or column range from where i need to find the given value & then give a [ location ] of data to what i want to be replace with.
    "find and replace by row & column range & than by specific criteria and than by specific location."
    in more than 100 sheets in entire workbook
    please help.

  22. Juaninho says:

    This is a great tool, does anyone knows an easiest way??

    I'm working with a system that has over 59000 references... so every time the replace all is activated. I lose an entire day.

  23. sadaqat says:

    i actually needs to find cell number "D12" in column "D" and replace with Cell Number "B8" for example
    find what = Cell Number "D12" John McNamara
    find Where = in Column "D"
    Replace with = Cell Number "B8" Bieber D'Souza
    Replace Range = Column "D"
    In which Sheet = All Sheets in Work Book (more than 100 Sheets)
    Note: in every Sheet Cells Number "D12" & "B8" containing Different Employ Name but the find rang and replace rang are same in every sheet and find what cell number and replace with cell number are same also.
    please help!

  24. sara says:

    thank you. saved lot of time.

  25. Crystal says:

    Thank you from the bottom of my heart!

  26. Gerard says:

    Hi, I am trying to figure out how to use RE to find and replace several values in a column. Using find and replace does not work because of the values I am working with. I have a column with hundreds of rows that have a description of several operating systems and other info, which looks like this: Windows Server 2008 R2 Member Server Security Technical Implementation Guide; Windows 2008 Member Server Security Technical Implementation Guide; Solaris 10 10 SPARC SECURITY TECHNICAL IMPLEMENTATION GUIDE; and Windows Windows 2003 Member Server Security Technical Implementation Guide.

    I need to be able to find and replace (or basically curtail the descriptions) to be Windows 2008 R2; Windows 2008; Windows 2003; and Solaris 10. BUT when I run find and replace with just *2008*, it finds every instance, including the ones with R2 at the end. I need it to only change the ones with 2008 to Windows 2008 and the ones that have 2008 R2 to Windows 2008 R2. I know it is possible, but I have no clue on how to write a macro to do this.

    Thanks for your help,
    Gerard

  27. Paul says:

    Wickedly efficient workaround. Excel really is a powerhouse program, all you have to do is dig into it. Ctl ~ exposes the formulas, and Ctl H allows for the multi edit. Brilliant, Chandoo!

Leave a Reply