Say you want to count all cells starting with C:
=COUNTIF(A1:A10,"c*")
Note: "c*" is case insensitive. Hence, it will count cells starting with both "c" or "C".
Suppose you want to find all cells starting with Excel:
=COUNTIF(A1:A10,"excel*")
=COUNTIF(A1:A10,"*c")
Note: "*c" is case insensitive. Hence, it will count cells ending with both "c" or "C".
Suppose you want to find all cells ending with Excel:
=COUNTIF(A1:A10,"*excel")
The COUNT function counts only cells that contain numbers.
=COUNT(A1:A10)
Suppose cell A1 contains "qwerty" and you want to reverse it:
=TEXTJOIN(,,MID(A1,LEN(A1)-SEQUENCE(LEN(A1))+1,1))
=TEXTJOIN(,,MID(A1,LEN(A1)-ROW(INDIRECT("1:"&LEN(A1)))+1,1))
Suppose cell A1 has the number 16709 and you want to reverse it to get 90761:
=SUMPRODUCT(MID(A1,SEQUENCE(LEN(A1)),1)*10^SEQUENCE(LEN(A1))/10)
=--TEXTJOIN(,,MID(A1,LEN(A1)-SEQUENCE(LEN(A1))+1,1))
Suppose A2 has: "Moscow, London, Paris, Delhi, Washington, Miami, Detroit, Berlin"
You want: "Berlin, Detroit, Miami, Washington, Delhi, Paris, London, Moscow"
=TEXTJOIN(", ",SORTBY(FILTERXML("<t><s>"&SUBSTITUTE(A2,",","</s><s>")&"</s></t>","//s"),SEQUENCE(LEN(A2)-LEN(SUBSTITUTE(A2,","," "))+1),-1))
Suppose you have values in A2:A11 and want to reverse them in column D.
=INDEX(A2:A11,COUNTA(A2:A11)-SEQUENCE(COUNTA(A2:A11))+1)
=INDEX(A2:A11,COUNTA(A2:A11)-ROW(INDIRECT("1:"&COUNTA(A2:A11)))+1)
=SORTBY(FILTER(A2:A11,A2:A11<>""),SEQUENCE(COUNTA(A2:A11)),-1)
=MIN(ROW(D15:Q99))
=@SORT(ROW(D15:Q99),,-1)
=MAX(ROW(D15:Q99))
=@COLUMN(D15:Q99)
=MIN(COLUMN(D15:Q99))
=MAX(COLUMN(D15:Q99))
Suppose A1 contains "abracadabra" and you want the result as "abrcd":
=TEXTJOIN(,,UNIQUE(MID(A1,SEQUENCE(LEN(A1)),1)))
=TEXTJOIN(,,UNIQUE(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))
=ISNUMBER(--TEXTJOIN("",1,A1:A10))
=NOT(ISERROR(SUM(MATCH(UPPER(A1:A10),CHAR(ROW(65:90)),0))))
=NOT(ISERROR(SUM(MATCH(UPPER(FILTER(A1:A10,A1:A10<>"")),CHAR(ROW(65:90)),0))))
=COUNTIF(A1:A10,"*")
=LEN(SUBSTITUTE(A1," ",""))
=LEN(A1)-LEN(SUBSTITUTE(LOWER(A1),"a",""))
Suppose your string in A1 is "abc123def45cd".
=COUNT(IF(ISNUMBER(--MID(A1,SEQUENCE(LEN(A1)),1)),"",0))-(A1="")
=COUNT(IF(ISNUMBER(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)),"",0))-(A1="")
=SUMPRODUCT(--NOT(ISNUMBER(--MID(A1,SEQUENCE(LEN(A1)),1))))-(A1="")
=SUMPRODUCT(--NOT(ISNUMBER(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))))-(A1="")
Suppose you have a string "abc123def43cd" and you want to count numbers in this.
If your string is in A1, use following formula:
=COUNT(--MID(A1,SEQUENCE(LEN(A1)),1))
=COUNT(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
=SUMPRODUCT(--ISNUMBER(--MID(A1,SEQUENCE(LEN(A1)),1)))
=SUMPRODUCT(--ISNUMBER(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))
=SUMPRODUCT(LEN(A1)-LEN(SUBSTITUTE(A1,ROW(1:10)-1,"")))
Suppose you have a string "Ab?gh123def%h*" and you want to count only Alphabets.
Suppose your string is in A1, put following formula for this:
=SUMPRODUCT(LEN(A1)-LEN(SUBSTITUTE(UPPER(A1),CHAR(ROW(INDIRECT("65:90"))),"")))
=SUMPRODUCT(--(ABS(77.5-CODE(MID(UPPER(A1),ROW(INDIRECT("A1:A"&LEN(A1))),1)))<13))
=CHAR(SEQUENCE(26,,65)) =CHAR(ROW(65:90))
=CHAR(SEQUENCE(26,,97)) =CHAR(ROW(97:122))
=CHAR(SEQUENCE(,26,65)) =CHAR(SEQUENCE(,26,97)) =TRANSPOSE(CHAR(ROW(65:90)))
Go to View β Freeze Panes to keep a row or column visible while scrolling.
Select data β Click Insert β Chart β Choose a chart type (bar, line, pie, etc.).
=IF(A1>10, "High", "Low") returns "High" if A1 is greater than 10; otherwise, it returns "Low".
Relative (A1): Changes when copied.
Select data β Click Insert β PivotTable β Choose where to place it.
VLOOKUP: Searches vertically in columns.
Click File β Save As, choose a location, enter a filename, and select a format (e.g., .xlsx, .csv).
Select column β Click Data β Text to Columns β Choose delimiter (e.g., comma, space).
Use =SUM(A1:A5) to add values in the range A1 to A5.
Use =COUNTIF(A1:A10, ">50") to count numbers greater than 50 in A1:A10.
Select data β Click Data β Remove Duplicates.
Count numbers: =COUNT(A1:A10)
Select cells β Click Conditional Formatting in the Home tab β Choose a rule (e.g., highlight values greater than 50).
Click the Pivot Table β Click Refresh under the PivotTable Analyze tab.
Select a cell β Data β Data Validation β Set rules (e.g., allow only numbers or dropdown lists).
Excel is a spreadsheet software used for data analysis, calculations, graphing, and automation.
It searches for a value in the first column of a range and returns a value from another column.
Use =A1 & " " & B1 or =CONCATENATE(A1, " ", B1).
Copyrights © 2024 letsupdateskills All rights reserved