ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   What does the & symbol in a formula do? (https://www.excelbanter.com/excel-discussion-misc-queries/185027-what-does-symbol-formula-do.html)

Dominic

What does the & symbol in a formula do?
 
I an looking at a SUMIF formula that includes the & symbol. See below. What
does the & symbol do?
=SUMIF($AN$6:$AY$6,"<="&$D$5,AN8:AY8)


AKphidelt

What does the & symbol in a formula do?
 
It's a concatenation function

Basically combines data

So

"A"&"B" becomes AB
"A "&"B" becomes A B
etc

"Dominic" wrote:

I an looking at a SUMIF formula that includes the & symbol. See below. What
does the & symbol do?
=SUMIF($AN$6:$AY$6,"<="&$D$5,AN8:AY8)


Peo Sjoblom

What does the & symbol in a formula do?
 
It tells SUMIF to use what's in cell D5 instead of looking for the text
string "D5"


=SUMIF($AN$6:$AY$6,"<=$D$5",AN8:AY8)


would look in AN6:AY6 for the text string



--


Regards,


Peo Sjoblom


"Dominic" wrote in message
...
I an looking at a SUMIF formula that includes the & symbol. See below. What
does the & symbol do?
=SUMIF($AN$6:$AY$6,"<="&$D$5,AN8:AY8)





All times are GMT +1. The time now is 11:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com