mark cells containing a diff

willwall

New Member
Joined
Sep 22, 2016
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Hello
I want excel to mark the cells that add up to a specific sum, in this case the sum is 1589. What is the best way to do this?
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="class: xl65, width: 64"]A[/TD]
[TD="class: xl65, width: 64"]B[/TD]
[/TR]
[TR]
[TD="class: xl65"]1[/TD]
[TD]Serienr[/TD]
[TD]Belopp[/TD]
[/TR]
[TR]
[TD="class: xl65"]2[/TD]
[TD="align: right"]1555[/TD]
[TD="align: right"]500[/TD]
[/TR]
[TR]
[TD="class: xl65"]3[/TD]
[TD="align: right"]2555[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD="class: xl65"]4[/TD]
[TD="align: right"]3555[/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD="class: xl65"]5[/TD]
[TD="align: right"]4555[/TD]
[TD="align: right"]-900[/TD]
[/TR]
[TR]
[TD="class: xl65"]6[/TD]
[TD="align: right"]6555[/TD]
[TD="align: right"]321[/TD]
[/TR]
[TR]
[TD="class: xl65"]7[/TD]
[TD="align: right"]7555[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD="class: xl65"]8[/TD]
[TD="align: right"]8555[/TD]
[TD="align: right"]418[/TD]
[/TR]
[TR]
[TD="class: xl65"]9[/TD]
[TD="align: right"]9555[/TD]
[TD="align: right"]610[/TD]
[/TR]
[TR]
[TD="class: xl65"]10[/TD]
[TD="align: right"]10555[/TD]
[TD="align: right"]40[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hello Joe

i looked at the video and it doesnt really work for me as i have too many variables. I have 1500 rows wih numbers. My examble above only shows 10....
Do ypu know another way that allows more variables?
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,973
Members
452,540
Latest member
haasro02

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top