Please Help me to SUM

lilsaint01

New Member
Joined
Sep 6, 2019
Messages
8
Good Day sir,

I am creating some formula to make my calculation easier. However i am stuck. :laugh:
In the Sheet 3 (with yellow mark) i want cell K6 and K30 have same value with K18.
I already have formula in there, but idk what else i need to add.

This sheet is working on how many job that 1 employee can do per day. and how much wage that they get per day.

as referenece Row A is "Date" , Row B is "Month" , and Row C is "Year".

What i want is that i can sum total weight (Sheet 2 row V) and wage (Sheet 2 row Q).

The problem is there are job (Sheet 2, AK24 and AK71) that 2 people do at one time, If i write only 1 name the value didnt appear. Please help me, so even with 1 name only, i still can calculating the total.

Thank you. and sorry for my bad english :laugh:

https://drive.google.com/file/d/1v_Owxx_z5jRJdmLxM4pMDDtqu6qMqVa0/view
 
Last edited by a moderator:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
If I assume "อ๊อด, กูแร็ก" is two names and you want to search for either then would a wildcard search work?

i.e. the end of the cell K6 formula is

Sheet2!$AK$1:$AK$5000,"*"&Sheet3!$B5&"*")
 
Upvote 0
If I assume "อ๊อด, กูแร็ก" is two names and you want to search for either then would a wildcard search work?

i.e. the end of the cell K6 formula is

Sheet2!$AK$1:$AK$5000,"*"&Sheet3!$B5&"*")


Thats worked, but when i delete name, the value on K6 didnt change to zero, but change to another number.
 
Upvote 0
Yes, because now it searches for wildcard everything so you get every row returned. If you want to avoid that you'll need to wrap it in a check for empty K6: IF(K6="","",.......)

Also be aware that if Sheet3 B17 is two names then the sequence must be the same on Sheet2. i.e. It will find "อ๊อด, กูแร็ก" but it won't find "กูแร็ก, อ๊อด".
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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