Return value based on text/ value in another cell

1988craig

New Member
Joined
Aug 17, 2019
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I am attempting to auto populate table two, based on the input of table one.

Table one is a manual input of man hours.
Table two is the available hours for planning purposes- where there is a numerical input in table 1, I want table two to populate 7 in the corresponding cell.

where text is entered in table one this will need to represent some form of '0' in table two.

Not sure where to start with this as the text & numerical data varies in table 1.

Unfortunately I cannot change the format of table one due to this being used/ owned by another party but I need table two to populate as per above for the available labour hours for planning purposes.

Greatly appreciate any assiatance, thanks in advance.




Example .xlsx
ABCDEF
2Table 1. manual input
3
4MondayTuesdayWednesdayThursdayFriday
5Dave 18.5RDO8.5AL8.5
6Dave 298.59AL7.5
7Dave 37.5ERT7.5ALERT
8Dave 48.57.5TRAL7.5
9Dave 58.57.5TRRDO7.5
10Dave 6RDO7.58.5ALTR
11Dave 77.57.5ERTALTR
12Dave 87.58.57.5AL7.5
13Dave 97.597.5AL8.5
14Dave 107.57.57.5ALRDO
15
16Table 2. from input table 1.
17
18MondayTuesdayWednesdayThursdayFriday
19Dave 17-7AL7
20Dave 2777AL7
21Dave 37-7AL-
22Dave 477-AL7
23Dave 577--7
24Dave 6-77AL-
25Dave 777-AL-
26Dave 8777AL7
27Dave 9777AL7
28Dave 10777AL-
Sheet1
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Based on your example, the simple way would be to enter
Excel Formula:
=IF(ISNUMBER(B5),7,0)
into B19, then fill the table from that.
 
Upvote 0
Solution
Based on your example, the simple way would be to enter
Excel Formula:
=IF(ISNUMBER(B5),7,0)
into B19, then fill the table from that.
Hi Jason,

Many thanks, that was a lot simpler than I thought the formula would be (I'm an excel novice...) . Very much appreciated!!
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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