Return only certain value of selected cells

Goddess

Board Regular
Joined
Dec 3, 2015
Messages
94
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I have a sheet similar to below:

Sheet1 (data source)

ABCDEF
1​
NameMayJunJulAugSep
2​
Ali46-7-80
3​
Mary-787-10-5
4​
Janeokok5-7-7
5​
Lim7-8979
6​
Tan4ok-447
7​
Muthu-86-8010


Result that I want is that it only returns certain names, with values that are below 0. If the value of the selected name is 0 and above, or if it contains text, it will leave the cell blank.

Sheet2 (result)
NameMayJunJulAugSep
Jane-7-7
Lim-8
Muthu-8-8

Thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi.. sorry... some modification to my original post (not sure how to edit or cancel the original post. SORRY!)

Source file (Sheet1)
ABCDEF
1​
NameNo.MayJunJulAugSep
2​
Ali346-7-80
3​
Mary4-787-10-5
4​
Jane16ok5-7-7
5​
Lim2ok-8979
6​
Tan240-447
7​
Muthu3-86-5710

Selected names (as below), will show value below 0. Anything 0 and above, or with text, it'll return a blank cell. Also, the value need to multiply by the number in column B.

Result file (Sheet2)


NameMayJunJulAugSep
Jane-7-7
Lim-16
Muthu-24-15

Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,497
Messages
6,125,155
Members
449,208
Latest member
emmac

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