Recalling multiple variables

AssignmentHelp

New Member
Joined
Apr 22, 2019
Messages
1
Hello forums,

My problem is IÂ’m trying to recall multiple variables in a row to the end of a column. For example, my table will look like this:

A. B. C. D. E. F. G. H
1) Model. Worktop Time Door time Drawer Time Total subs
2). a. 0. 0m 1. 5m. 2 3m. Formula
3). b. 1. 5m. 2. 10m. 0. 0
4). c. 1. 0. 1. 5m. 2. 0

I have Models A, B, and C. Each model gets a sub assemblied piece added to it. (And some may not have a time). IÂ’m trying to write an if/then statement saying if there is a time >0, recall the value for that piece into the total sub cell. If there is no time, donÂ’t recall anything or recall 0. But i want to string it or nest it all into one formula.

So, the formula might look like this: =if(c2>0, then recall b2 into h2, else, recall 0 into h2, if(E2>0, recall D2 into H2, else, 0, if(etc....))).... and if i copied it paste it down the column it will change the formula according to whatever row itÂ’s in.

Ive tried [if/then(vlookup)], sumifs, counts; not really sure anymore.

I hope this makes sense. Thanks in advance.


EDIT: Sorry, didn’t realize my table would look like that after i submit it
 
Last edited by a moderator:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
What about:

in H2:
=IF(C2,B2,0)+IF(E2,D2,0)+IF(G2,F2,0)

ABCDEFGH
1
ModelWorktopTimeDoorTimeDrawerTimeTotal subs
2a0
0 m
15 m2
3 m3
3b15 m210 m0
0 m3
4c10 m15 m20 m1

<colgroup><col style="width:48pt" span="9" width="64"> </colgroup><tbody>
</tbody>
 
Upvote 0
By the way, to show a piece of worksheet in a table like above, copy the range from Excel. Then in the formatting icons (in Reply you have to go to 'Go Advanced') look for the table icons and select the table property icon. Then select all gridlines there.
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,796
Members
449,095
Latest member
m_smith_solihull

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