메인 컨텐츠로 가기

Excel에서 여러 셀에 값을 추가하는 방법은 무엇입니까?

Excel의 여러 셀에 값을 추가하려는 경우 다음 방법을 사용하면 쉽고 빠르게 처리 할 수 ​​있습니다.


화살표 블루 오른쪽 거품 VBA를 사용하여 여러 셀에 값 추가

매크로를 사용하면 반복되는 많은 처리를 쉽게 할 수 있고 작업을 더 쉽고 빠르게 할 수 있습니다. 다음 매크로도 마찬가지입니다.

1 단계 : 값을 추가 할 셀을 선택합니다.

2 단계 : ALT + F11 키를 누르면 Microsoft Visual Basic for Applications 창이 열립니다.

3 단계 : 클릭 끼워 넣다 > 모듈을 클릭하고 모듈 창에 다음 VBA를 붙여 넣습니다.

하위 Add2Formula ()
'추가 300

각 c 선택 항목
c. 활성화
ActiveCell.FormulaR1C1 = "="& ActiveCell.Formula & "+300"
다음 c

최종 하위

4 단계 : F5 이 매크로를 실행하려면 키를 누르십시오.

노트:

1.이 매크로는 내부에 수식이없는 셀에만 유효합니다.

2.이 매크로는 300 선택한 모든 셀에. 다른 값을 추가하려면 300 다른 가치로.


화살표 블루 오른쪽 거품 Excel 용 Kutools로 여러 셀에 가치 추가

Excel 용 Kutools 사용하기 쉬운 대체 방법을 제공하며 운영 도구를 사용하면 여러 셀에 쉽게 가치를 추가 할 수 있습니다.

Excel 용 Kutools 80 개 이상의 편리한 Excel 도구가 포함되어 있습니다. 30 일 동안 제한없이 무료로 사용해보세요. 지금 사세요.

1 단계 : 동일한 값을 추가 할 셀을 선택합니다.

2 단계 : 쿠툴 > 조작 > 운영 도구…. 스크린 샷보기 :

3 단계 : 추가 작업 섹션에서 선택한 셀에 추가 할 값을 입력합니다. 스크린 샷보기 :

4 단계 : 공식 생성 옵션을 선택합니다.

5 단계 : 클릭 OK.

운영 도구에서
추가를 선택하고 300을 입력 한 다음 확인을 클릭합니다..

Excel 용 Kutools 운영 도구 선택한 모든 셀에 대해 모든 종류의 수학 연산을 함께 지원합니다.

  • 더하기 : 지정된 피연산자를 더합니다.
  • 빼기 : 지정된 피연산자를 뺍니다.
  • 곱하기 : 각 셀 값에 피연산자를 곱합니다.
  • 나누기 : 피연산자로 나눈 셀의 각 값입니다.
  • 지수화 : 셀의 각 값은 피연산자를 강화합니다.
  • 반올림 : 셀의 각 값을 XNUMX 진수 (지정된 피연산자)로 반올림합니다.
  • 함수 : 셀의 각 값에 함수를 적용합니다.
  • 사용자 지정 : 수식과 같은 식을 만들고 각 셀 값에 적용합니다.

관련 기사

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!

Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks a lot. It is working 💖
This comment was minimized by the moderator on the site
If you want to include cells with formula, you could try, which is only a slight modification from the original. But adding numbers to an established formula could be dangerous so beware:


Sub Add2Formula()
' Add a number
Dim formulae As String
Dim a_number As Double

a_number = InputBox("what number to increment")

For Each cell In Selection
cell.Activate
formulae = ActiveCell.Formula
' gets rid of formula non-essentials that could cause errors
formulae = Replace(formulae, "'", "")
formulae = Replace(formulae, "=", "")

If formulae = "" Then
ActiveCell.Formula = "= " & ActiveCell.Formula & "+" & a_number
Else
ActiveCell.Formula = "= " & formulae & "+" & a_number
End If
Next cell

End Sub


This could be easily modified to skip blank cells, and to skip text cells you could probably evaluate the value of the cell, and when it errors you could go to the next cell. Hope this helps.
This comment was minimized by the moderator on the site
How can I get this VBA formula to skip blank and text cells? Thanks
This comment was minimized by the moderator on the site
sir.iam doing survey list in excel if a=200,b=100,c=50,d=15.e=10 for 3 questions if he selects a,b,b means 200+100+100=400 and Description should be good ..how to do this one
This comment was minimized by the moderator on the site
this tool is so useful and can trust the product.
This comment was minimized by the moderator on the site
any reply? will this site answer our enquiry?
This comment was minimized by the moderator on the site
Dear Expert Have a question here. How to increase age automatically for each year? Thanks
This comment was minimized by the moderator on the site
Add Value to multiple cells with VBA's techque is very useful Thanks
This comment was minimized by the moderator on the site
sir if a1=100 b1=100 and after dat we want to insert 100 again in a1 den b1 should automatically update to 200 means a1 value added in b1 and so on and on. how it is possibe we have to take the two cells only. sir plz solve dis problem
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations