Find and compute

AccessPro

Board Regular
Joined
Oct 24, 2008
Messages
51
I need to generate some code that will :

For every unique entry in column(A) that has "Connection" in column(C). <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
And has 3314 in column(V): <o:p></o:p>
And in one of the lines above; column(C) = "Messages", <o:p></o:p>
<o:p></o:p>
Subtract the value in the column(D) on the line that contains "Messages" from the value in column(D) on the line which Item column(C) = "Connection". = X

On the line that contains "Connection" Subtract column (F) from X. = Y <o:p></o:p>
Then on the line that contains "Connections" Multiply Y by the column (H) and paste into the column (U). <o:p></o:p>
Repeat for all unique entries in column (A).<o:p></o:p>
<o:p></o:p>
TIA
Bob
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
For every unique entry in column(A) that has "Connection" in column(C). <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
And has 3314 in column(V): <o:p></o:p>

And in one of the lines above; column(C) = "Messages", <o:p></o:p>
<o:p></o:p>
doesn't make sense?
 
Upvote 0
thanks for looking.

it refers to the first line:
For every unique entry in column(A) that has "Connection" in column(C). <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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