Forum Discussion

Most88's avatar
Most88
Copper Contributor
Dec 17, 2024

How to show/insert numbers inside sum function ?

Hey Microsoft community,

Is there anyway that we can do the below example :

If i have already wrote sum function =1+2+3 

I wanna insert 4+5 inside the formula  like below shown :

Actually i have around 500 row and i can't do it manually ,it will take so much time .

 

Appreciate your kind support .

 

 

2 Replies

  • m_tarler's avatar
    m_tarler
    Bronze Contributor

    alternatively you can use a formula to create the text string:

    =TEXTJOIN("+",,H2:J2)

    that will produce 4+5 text and then copy and paste special (as value) in another cell

    here is where it can get funky, for some reason in some cases excel will automatically convert it back to a 'regular' formula copy and become "=TEXTJOIN("+",,H3:J3)" 

    That said, if that happens, just hit UNDO and the cell will revert back to the 4+5 text only

    Finally copy that text into your equation.

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-showinsert-numbers-inside-sum-function/a2097d19-3b83-4548-9ba3-c846adc9f4ae

Resources